Skip to content

Commit fb93319

Browse files
committed
fix build file
1 parent c7904fb commit fb93319

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ subprojects {
4141
}
4242

4343
dependencies {
44-
testCompile 'junit:junit:4.+'
44+
testCompile 'junit:junit:[4,5)'
4545
}
4646

4747
test {
4848
testLogging {
49-
exceptionFormat = 'full'
49+
exceptionFormat = 'full'
5050
}
5151
}
5252
}
@@ -119,8 +119,8 @@ tasks.coveralls {
119119
evaluationDependsOnChildren();
120120

121121
configure(subprojects) {
122-
if (project.hasProperty('skipNative') && it.hasProperty('isNative') && it.isNative == true)
123-
it.test.enabled = false
122+
if (project.hasProperty('skipNative') && it.hasProperty('isNative') && it.isNative == true)
123+
it.test.enabled = false
124124
}
125125

126126
if (project.hasProperty('mvn')) {
@@ -142,11 +142,9 @@ if (project.hasProperty('mvn')) {
142142
archives javadocJar, sourcesJar
143143
}
144144

145-
if (project.isRelease && gradle.taskGraph.hasTask("uploadArchives")) {
146-
signing {
147-
sign configurations.archives
148-
}
149-
}
145+
signing {
146+
sign configurations.archives
147+
}
150148

151149
uploadArchives {
152150
repositories {

0 commit comments

Comments
 (0)