Skip to content

Commit c3ee81d

Browse files
committed
chore: 降级到JDK8, 保证兼容Jitpack
chore: 降级androidx, 保证兼容Jitpack chore: 使用maven, 保证兼容Jitpack
1 parent a2ad209 commit c3ee81d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.4.2'
9+
classpath 'com.android.tools.build:gradle:4.2.2'
1010
}
1111
}
1212

@@ -78,5 +78,5 @@ dependencies {
7878
androidTestImplementation "androidx.test.ext:junit:1.1.5"
7979
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
8080
implementation fileTree(dir: 'libs', include: ['*.jar'])
81-
implementation "androidx.appcompat:appcompat:1.6.1"
81+
implementation "androidx.appcompat:appcompat:1.3.1"
8282
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.4-all.zip

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'java-library'
2-
// apply plugin: 'maven'
2+
apply plugin: 'maven'
33

44
dependencies {
55
implementation fileTree(dir: 'libs', include: ['*.jar'])

0 commit comments

Comments
 (0)