Skip to content

Commit 82b775b

Browse files
committed
update config
1 parent a518c3a commit 82b775b

File tree

1 file changed

+5
-34
lines changed

1 file changed

+5
-34
lines changed

helper/build.gradle

+5-34
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ apply plugin: 'com.github.dcendents.android-maven'
33
group='com.github.jrfeng'
44

55
android {
6-
compileSdkVersion 29
6+
compileSdkVersion 30
77

88

99
defaultConfig {
1010
minSdkVersion 14
11-
targetSdkVersion 29
11+
targetSdkVersion 30
1212
versionCode 1
1313
versionName "1.0"
1414

@@ -28,37 +28,8 @@ android {
2828
dependencies {
2929
implementation fileTree(dir: 'libs', include: ['*.jar'])
3030

31-
implementation 'androidx.appcompat:appcompat:1.1.0'
31+
implementation 'androidx.appcompat:appcompat:1.2.0'
3232
testImplementation 'junit:junit:4.12'
33-
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
34-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
35-
}
36-
37-
tasks.withType(JavaCompile) {
38-
options.encoding = "UTF-8"
39-
}
40-
41-
task sourcesJar(type: Jar) {
42-
classifier = 'sources'
43-
from android.sourceSets.main.java.sourceFiles
44-
}
45-
46-
task javadoc(type: Javadoc) {
47-
source = android.sourceSets.main.java.sourceFiles
48-
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
49-
}
50-
51-
task javadocJar(type: Jar, dependsOn: javadoc) {
52-
classifier = 'javadoc'
53-
from javadoc.destinationDir
54-
}
55-
56-
task classesJar(type: Jar) {
57-
from "$buildDir/intermediates/classes/release"
58-
}
59-
60-
artifacts {
61-
archives classesJar
62-
archives javadocJar
63-
archives sourcesJar
33+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
34+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
6435
}

0 commit comments

Comments
 (0)