Skip to content

Commit cb109ac

Browse files
nitzanjAmir Tocker
authored andcommitted
Fix java shared config (Move some more specific configs into subprojects)
1 parent 659ebdb commit cb109ac

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jdk:
2828
# - openjdk6
2929

3030
# ciTest is configured to skip the various timeout tests that don't work in travis
31-
script: ./gradlew ciTest
31+
script: ./gradlew clean ciTest

cloudinary-http42/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
apply from: "../java_shared.gradle"
22

3+
task ciTest( type: Test ) {
4+
useJUnit {
5+
excludeCategories 'com.cloudinary.test.TimeoutTest'
6+
}
7+
}
8+
39
dependencies {
410
compile project(':cloudinary-core')
511
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'

cloudinary-http43/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
apply from: "../java_shared.gradle"
22

3+
task ciTest( type: Test ) {
4+
useJUnit {
5+
excludeCategories 'com.cloudinary.test.TimeoutTest'
6+
}
7+
}
8+
39
dependencies {
410
compile project(':cloudinary-core')
511
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'

cloudinary-http44/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
apply from: "../java_shared.gradle"
22

3+
task ciTest( type: Test ) {
4+
useJUnit {
5+
excludeCategories 'com.cloudinary.test.TimeoutTest'
6+
}
7+
}
8+
39
dependencies {
410
compile project(':cloudinary-core')
511
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'

java_shared.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ tasks.withType(JavaCompile) {
99
test {
1010
testLogging.showStandardStreams = true
1111
testLogging.exceptionFormat = 'full'
12-
}
13-
14-
task ciTest( type: Test ) {
15-
useJUnit {
16-
excludeCategories 'com.cloudinary.test.TimeoutTest'
17-
}
1812
}

0 commit comments

Comments
 (0)