Skip to content

Commit

Permalink
build: update scm property for publishing after applying publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
antonydenyer committed Nov 18, 2019
1 parent bee23aa commit 24e7d1e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,6 @@ allprojects {
testCompile "org.mockito:mockito-junit-jupiter:$mockitoJunitVersion"
}

publishing {
publications {
maven(MavenPublication) {
pom {
scm {
url = "https://github.com/web3j/web3j"
connection = "scm:https://github.com/web3j/web3j.git"
developerConnection = "scm:git://github.com/web3j/web3j.git"
}
}
}
}
}

if (project.name != 'integration-tests') {
apply {
download {
Expand All @@ -92,6 +78,20 @@ allprojects {
}
from("$rootDir/gradle/publish/build.gradle")
}

publishing {
publications {
maven(MavenPublication) {
pom {
scm {
url = "https://github.com/web3j/web3j"
connection = "scm:https://github.com/web3j/web3j.git"
developerConnection = "scm:git://github.com/web3j/web3j.git"
}
}
}
}
}
}
}
configure(subprojects.findAll { it.name != 'integration-tests' }) {
Expand Down

0 comments on commit 24e7d1e

Please sign in to comment.