|
@@ -5,13 +5,8 @@ android {
|
5
|
5
|
compileSdkVersion 25
|
6
|
6
|
buildToolsVersion "27.0.1"
|
7
|
7
|
|
8
|
|
- compileOptions {
|
9
|
|
- sourceCompatibility JavaVersion.VERSION_1_8
|
10
|
|
- targetCompatibility JavaVersion.VERSION_1_8
|
11
|
|
- }
|
12
|
|
-
|
13
|
8
|
defaultConfig {
|
14
|
|
- minSdkVersion 16
|
|
9
|
+ minSdkVersion 19
|
15
|
10
|
targetSdkVersion 25
|
16
|
11
|
versionCode 1
|
17
|
12
|
versionName "1.0"
|
|
@@ -49,20 +44,27 @@ android {
|
49
|
44
|
}
|
50
|
45
|
}
|
51
|
46
|
|
|
47
|
+allprojects { p ->
|
|
48
|
+ p.afterEvaluate {
|
|
49
|
+ p.android.compileOptions.sourceCompatibility JavaVersion.VERSION_1_8
|
|
50
|
+ p.android.compileOptions.targetCompatibility JavaVersion.VERSION_1_8
|
|
51
|
+ }
|
|
52
|
+}
|
|
53
|
+
|
52
|
54
|
dependencies {
|
53
|
|
- compile fileTree(include: ['*.jar'], dir: 'libs')
|
54
|
|
- compile 'com.android.support:design:25.3.1'
|
55
|
|
- compile 'com.android.support:appcompat-v7:25.3.1'
|
56
|
|
- compile "com.android.support:support-v4:25.3.1"
|
|
55
|
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
56
|
+ implementation 'com.android.support:design:25.4.0'
|
|
57
|
+ implementation 'com.android.support:appcompat-v7:25.4.0'
|
|
58
|
+ implementation "com.android.support:support-v4:25.4.0"
|
57
|
59
|
|
58
|
60
|
// node_modules
|
59
|
61
|
//noinspection GradleDynamicVersion
|
60
|
|
- compile 'com.facebook.react:react-native:+'
|
|
62
|
+ implementation 'com.facebook.react:react-native:+'
|
61
|
63
|
|
62
|
64
|
// tests
|
63
|
|
- testCompile 'junit:junit:4.12'
|
64
|
|
- testCompile 'org.robolectric:robolectric:3.5.1'
|
65
|
|
- testCompile 'org.assertj:assertj-core:2.5.0'
|
66
|
|
- testCompile 'com.squareup.assertj:assertj-android:1.1.1'
|
67
|
|
- testCompile 'org.mockito:mockito-core:2.7.5'
|
|
65
|
+ testImplementation 'junit:junit:4.12'
|
|
66
|
+ testImplementation 'org.robolectric:robolectric:3.5.1'
|
|
67
|
+ testImplementation 'org.assertj:assertj-core:2.8.0'
|
|
68
|
+ testImplementation 'com.squareup.assertj:assertj-android:1.1.1'
|
|
69
|
+ testImplementation 'org.mockito:mockito-core:2.12.0'
|
68
|
70
|
}
|