File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
33android {
4- compileSdkVersion 23
5- buildToolsVersion ' 20.0.0'
6-
4+ compileSdkVersion 28
5+ buildToolsVersion ' 28.0.3'
6+ repositories {
7+ jcenter()
8+ google()
9+ }
710 defaultConfig {
8- minSdkVersion 10
9- targetSdkVersion 23
10- versionCode 1
11+ minSdkVersion 16
12+ targetSdkVersion 28
13+ versionCode 2
1114 versionName " 1.0"
1215 }
1316 buildTypes {
@@ -16,16 +19,24 @@ android {
1619 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
1720 }
1821 }
19-
2022 testOptions {
2123 unitTests. returnDefaultValues = true
2224 }
2325}
2426
2527dependencies {
26- compile fileTree(dir : ' libs' , include : [' *.jar' ])
27- testCompile ' junit:junit:4.12'
28- androidTestCompile ' junit:junit:4.12'
28+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
29+ testImplementation ' junit:junit:4.12'
30+ androidTestImplementation ' junit:junit:4.12'
31+ implementation ' org.mockito:mockito-all:1.8.4'
32+ }
2933
30- compile ' org.mockito:mockito-all:1.8.4'
34+ buildscript {
35+ repositories {
36+ jcenter()
37+ google()
38+ }
39+ dependencies {
40+ classpath ' com.android.tools.build:gradle:3.3.1'
41+ }
3142}
You can’t perform that action at this time.
0 commit comments