Skip to content

Commit

Permalink
Update build script to release to TT repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallimore committed Apr 1, 2022
1 parent 21d9e24 commit f64011b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions build.gradle
Expand Up @@ -82,6 +82,7 @@ configure(allprojects) { project ->

apply plugin: "propdeps"
apply plugin: "java"
apply plugin: 'maven'
apply plugin: "test-source-set-dependencies"
apply from: "${gradleScriptDir}/ide.gradle"

Expand Down Expand Up @@ -264,6 +265,16 @@ configure(subprojects - project(":spring-build-src")) { subproject ->
archives sourcesJar
archives javadocJar
}

uploadArchives {
repositories {
mavenDeployer {
repository(url: "https://repository.tomitribe.com/service/local/staging/deploy/maven2") {
authentication(userName: project.repoUser, password: project.repoPassword)
}
}
}
}
}

project("spring-build-src") {
Expand Down Expand Up @@ -389,6 +400,8 @@ project("spring-beans-groovy") {
merge.into = project(":spring-beans")
apply plugin: "groovy"

uploadArchives.enabled = false

dependencies {
compile(project(":spring-core"))
optional("org.codehaus.groovy:groovy-all:${groovyVersion}")
Expand Down Expand Up @@ -768,6 +781,7 @@ project("spring-orm") {
project("spring-orm-hibernate4") {
description = "Spring Object/Relational Mapping - Hibernate 4 support"
merge.into = project(":spring-orm")
uploadArchives.enabled = false

dependencies {
provided(project(":spring-jdbc"))
Expand All @@ -786,6 +800,7 @@ project("spring-orm-hibernate4") {
project("spring-orm-hibernate5") {
description = "Spring Object/Relational Mapping - Hibernate 5 support"
merge.into = project(":spring-orm")
uploadArchives.enabled = false

dependencies {
provided(project(":spring-jdbc"))
Expand Down Expand Up @@ -883,6 +898,7 @@ project("spring-webmvc") {
project("spring-webmvc-tiles2") {
description = "Spring Framework Tiles2 Integration"
merge.into = project(":spring-webmvc")
uploadArchives.enabled = false

dependencies {
provided(project(":spring-context"))
Expand Down Expand Up @@ -1382,3 +1398,13 @@ def qualifyVersionIfNecessary(version) {
}
return version
}

uploadArchives {
repositories {
mavenDeployer {
repository(url: "https://repository.tomitribe.com/service/local/staging/deploy/maven2") {
authentication(userName: project.repoUser, password: project.repoPassword)
}
}
}
}

0 comments on commit f64011b

Please sign in to comment.