Skip to content

Commit

Permalink
fix build file
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfaller committed Jan 29, 2018
1 parent c7904fb commit fb93319
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ subprojects {
}

dependencies {
testCompile 'junit:junit:4.+'
testCompile 'junit:junit:[4,5)'
}

test {
testLogging {
exceptionFormat = 'full'
exceptionFormat = 'full'
}
}
}
Expand Down Expand Up @@ -119,8 +119,8 @@ tasks.coveralls {
evaluationDependsOnChildren();

configure(subprojects) {
if (project.hasProperty('skipNative') && it.hasProperty('isNative') && it.isNative == true)
it.test.enabled = false
if (project.hasProperty('skipNative') && it.hasProperty('isNative') && it.isNative == true)
it.test.enabled = false
}

if (project.hasProperty('mvn')) {
Expand All @@ -142,11 +142,9 @@ if (project.hasProperty('mvn')) {
archives javadocJar, sourcesJar
}

if (project.isRelease && gradle.taskGraph.hasTask("uploadArchives")) {
signing {
sign configurations.archives
}
}
signing {
sign configurations.archives
}

uploadArchives {
repositories {
Expand Down

0 comments on commit fb93319

Please sign in to comment.