Skip to content

Commit e7c291a

Browse files
Update build.gradle
1 parent bd4e9b3 commit e7c291a

1 file changed

Lines changed: 22 additions & 11 deletions

File tree

build.gradle

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
apply plugin: 'com.android.library'
22

33
android {
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

2527
dependencies {
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
}

0 commit comments

Comments
 (0)