Skip to content

Commit 09e08bb

Browse files
nitzanjAmir Tocker
authored andcommitted
Migrate to gradle
1 parent c42208c commit 09e08bb

File tree

36 files changed

+705
-613
lines changed

36 files changed

+705
-613
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
language: android
22

3+
before_cache:
4+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
5+
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
6+
cache:
7+
directories:
8+
- $HOME/.gradle/caches/
9+
- $HOME/.gradle/wrapper/
10+
311
jdk:
412
- oraclejdk8
513
- oraclejdk7
614
- openjdk7
7-
8-
# Temporarily disabled, test fail because Hamcrest needs java 1.7 (probably)
15+
# Temporarily disabled, test fail because Hamcrest needs java 1.7
916
# - openjdk6
1017

11-
script: mvn test -B -Dtest=\!*#*Timeout* -DfailIfNoTests=false
18+
# ciTest is configured to skip the various timeout tests that don't work in travis
19+
script: gradle ciTest

build.gradle

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
buildscript {
2+
}
3+
4+
allprojects {
5+
apply plugin: 'maven'
6+
apply plugin: 'signing'
7+
8+
repositories {
9+
jcenter()
10+
mavenCentral()
11+
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
12+
}
13+
}
14+
15+
subprojects {
16+
tasks.withType(Test) {
17+
maxParallelForks = Runtime.runtime.availableProcessors()
18+
19+
// show standard out and standard error of the test JVM(s) on the console
20+
testLogging.showStandardStreams = true
21+
}
22+
}

cloudinary-android-test/pom.xml

Lines changed: 0 additions & 98 deletions
This file was deleted.

cloudinary-android-test/project.properties

Lines changed: 0 additions & 15 deletions
This file was deleted.
-4.05 KB
Binary file not shown.
-1.68 KB
Binary file not shown.
-2.51 KB
Binary file not shown.

cloudinary-android-test/src/main/res/layout/main.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

cloudinary-android-test/src/main/res/values/strings.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

cloudinary-android/AndroidManifest.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)