File tree Expand file tree Collapse file tree 8 files changed +43
-8
lines changed Expand file tree Collapse file tree 8 files changed +43
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : android
2
- env :
3
- matrix :
4
- - ANDROID_SDKS=android-19,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
5
- before_install :
6
- - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
7
- - emulator -avd test -no-skin -no-audio -no-window &
2
+ android :
3
+ components :
4
+ - tools
5
+ - platform-tools
6
+ - build-tools-24.0.3
7
+ - android-24
8
+ - extra-android-m2repository
9
+ - sys-img-armeabi-v7a-android-24
10
+ jdk :
11
+ - oraclejdk8
12
+ before_cache :
13
+ - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
14
+ cache :
15
+ directories :
16
+ - $HOME/.gradle/caches/
17
+ - $HOME/.gradle/wrapper/
8
18
before_script :
9
- - ./ci/wait_for_emulator
19
+ - echo no | android create avd --force -n test -t android-24 --abi default/armeabi-v7a
20
+ - emulator -avd test -no-audio -no-window &
21
+ - android-wait-for-emulator
10
22
- adb shell input keyevent 82 &
23
+ script :
24
+ - ./gradlew testAllModules
Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ android {
45
45
testCoverageEnabled true
46
46
}
47
47
}
48
+
49
+ compileOptions {
50
+ sourceCompatibility JavaVersion . VERSION_1_7
51
+ targetCompatibility JavaVersion . VERSION_1_7
52
+ }
48
53
}
49
54
50
55
dependencies {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ allprojects {
46
46
ext {
47
47
compile_sdk_version = 24
48
48
build_tools_version = " 24.0.3"
49
- min_sdk_version = 14
49
+ min_sdk_version = 10
50
50
target_sdk_version = 24
51
51
52
52
java_core_ver = " 1.0.2"
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ android {
44
44
testCoverageEnabled true
45
45
}
46
46
}
47
+ compileOptions {
48
+ sourceCompatibility JavaVersion . VERSION_1_7
49
+ targetCompatibility JavaVersion . VERSION_1_7
50
+ }
47
51
}
48
52
49
53
dependencies {
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ android {
44
44
testCoverageEnabled true
45
45
}
46
46
}
47
+ compileOptions {
48
+ sourceCompatibility JavaVersion . VERSION_1_7
49
+ targetCompatibility JavaVersion . VERSION_1_7
50
+ }
47
51
}
48
52
49
53
dependencies {
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ android {
20
20
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
21
21
}
22
22
}
23
+ compileOptions {
24
+ sourceCompatibility JavaVersion . VERSION_1_7
25
+ targetCompatibility JavaVersion . VERSION_1_7
26
+ }
23
27
}
24
28
25
29
repositories {
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ android {
44
44
testCoverageEnabled true
45
45
}
46
46
}
47
+ compileOptions {
48
+ sourceCompatibility JavaVersion . VERSION_1_7
49
+ targetCompatibility JavaVersion . VERSION_1_7
50
+ }
47
51
}
48
52
49
53
dependencies {
You can’t perform that action at this time.
0 commit comments