@@ -4,15 +4,15 @@ apply plugin: 'com.github.dcendents.android-maven'
4
4
group = " com.github.adriangl"
5
5
6
6
android {
7
- compileSdkVersion 27
7
+ compileSdkVersion 28
8
8
9
9
defaultConfig {
10
10
minSdkVersion 19
11
- targetSdkVersion 27
11
+ targetSdkVersion 28
12
12
versionCode 1
13
- versionName " 1.0 "
13
+ versionName " 1.1 "
14
14
15
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
15
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
16
16
17
17
}
18
18
@@ -22,15 +22,14 @@ android {
22
22
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
23
23
}
24
24
}
25
-
26
25
}
27
26
28
27
dependencies {
29
28
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
30
- implementation " com.android.support:support-annotations:27 .0.2"
29
+ implementation ' androidx.annotation:annotation:1 .0.2'
31
30
testImplementation ' junit:junit:4.12'
32
- androidTestImplementation ' com.android.support. test:runner:1.0 .1'
33
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0 .1'
31
+ androidTestImplementation ' androidx. test:runner:1.1 .1'
32
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1 .1'
34
33
}
35
34
36
35
// build a jar with source files
@@ -42,8 +41,8 @@ task sourcesJar(type: Jar) {
42
41
task javadoc (type : Javadoc ) {
43
42
failOnError false
44
43
source = android. sourceSets. main. java. sourceFiles
45
- classpath + = project . files(android . getBootClasspath() . join( File . pathSeparator) )
46
- classpath + = configurations. compile
44
+ configurations . implementation . setCanBeResolved( true )
45
+ classpath + = project . files(android . getBootClasspath() . join( File . pathSeparator)) + configurations. implementation
47
46
}
48
47
49
48
// build a jar with javadoc
0 commit comments