File tree Expand file tree Collapse file tree 8 files changed +29
-66
lines changed
Expand file tree Collapse file tree 8 files changed +29
-66
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ cache:
1919
2020jdk :
2121 - oraclejdk8
22- - oraclejdk7
23- - openjdk7
22+
23+ # Android build tools 25 require java 8 - until project separation java 7 tests are disabled
24+ # - oraclejdk7
25+ # - openjdk7
26+
2427# Temporarily disabled, test fail because Hamcrest needs java 1.7
2528# - openjdk6
2629
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5- tasks. withType(JavaCompile ) {
6- options. encoding = ' UTF-8'
7- }
1+ apply from : " ../java_shared.gradle"
82
93dependencies {
104 testCompile group : ' org.hamcrest' , name : ' java-hamcrest' , version :' 2.0.0.0'
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5- tasks. withType(JavaCompile ) {
6- options. encoding = ' UTF-8'
7- }
1+ apply from : " ../java_shared.gradle"
82
93dependencies {
104 compile project(' :cloudinary-core' )
@@ -18,12 +12,6 @@ dependencies {
1812 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1913}
2014
21- task ciTest ( type : Test ) {
22- useJUnit {
23- excludeCategories ' com.cloudinary.test.TimeoutTest'
24- }
25- }
26-
2715uploadArchives {
2816 repositories {
2917 mavenDeployer {
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5- tasks. withType(JavaCompile ) {
6- options. encoding = ' UTF-8'
7- }
1+ apply from : " ../java_shared.gradle"
82
93dependencies {
104 compile project(' :cloudinary-core' )
@@ -17,12 +11,6 @@ dependencies {
1711 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1812}
1913
20- task ciTest ( type : Test ) {
21- useJUnit {
22- excludeCategories ' com.cloudinary.test.TimeoutTest'
23- }
24- }
25-
2614uploadArchives {
2715 repositories {
2816 mavenDeployer {
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5- tasks. withType(JavaCompile ) {
6- options. encoding = ' UTF-8'
7- }
1+ apply from : " ../java_shared.gradle"
82
93dependencies {
104 compile project(' :cloudinary-core' )
@@ -17,12 +11,6 @@ dependencies {
1711 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1812}
1913
20- task ciTest ( type : Test ) {
21- useJUnit {
22- excludeCategories ' com.cloudinary.test.TimeoutTest'
23- }
24- }
25-
2614uploadArchives {
2715 repositories {
2816 mavenDeployer {
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5-
6- tasks. withType(JavaCompile ) {
7- options. encoding = ' UTF-8'
8- }
9-
10- configurations. all {
11- }
1+ apply from : " ../java_shared.gradle"
122
133dependencies {
144 compile project(' :cloudinary-core' )
Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2-
3- sourceCompatibility = 1.7
4- targetCompatibility = 1.7
5- tasks. withType(JavaCompile ) {
6- options. encoding = ' UTF-8'
7- }
1+ apply from : " ../java_shared.gradle"
82
93dependencies {
104 compile project(' :cloudinary-core' )
Original file line number Diff line number Diff line change 1+ apply plugin : ' java'
2+
3+ sourceCompatibility = 1.7
4+ targetCompatibility = 1.7
5+ tasks. withType(JavaCompile ) {
6+ options. encoding = ' UTF-8'
7+ }
8+
9+ test {
10+ testLogging. showStandardStreams = true
11+ testLogging. exceptionFormat = ' full'
12+ }
13+
14+ task ciTest ( type : Test ) {
15+ useJUnit {
16+ excludeCategories ' com.cloudinary.test.TimeoutTest'
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments