Skip to content

Commit 2931f1c

Browse files
committed
Update Gradle configuration and AndroidManifest for compatibility
1 parent 793740a commit 2931f1c

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

build.gradle

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
buildscript {
22
repositories {
3-
jcenter()
3+
maven { url 'https://maven.aliyun.com/repository/google' }
4+
maven { url 'https://maven.aliyun.com/repository/central' }
45
google()
6+
mavenCentral()
57
}
68
dependencies {
7-
classpath 'com.android.tools.build:gradle:4.0.0'
9+
classpath 'com.android.tools.build:gradle:8.1.0'
810
}
11+
}
912

10-
allprojects {
11-
repositories {
12-
google()
13-
jcenter()
14-
}
13+
allprojects {
14+
repositories {
15+
maven { url 'https://maven.aliyun.com/repository/google' }
16+
maven { url 'https://maven.aliyun.com/repository/central' }
17+
google()
18+
mavenCentral()
1519
}
1620
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sat Sep 05 14:14:30 HKT 2020
1+
#Wed Dec 03 11:08:02 CST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

keyboardservice/build.gradle

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

33
android {
4-
compileSdkVersion 33
5-
buildToolsVersion '28.0.3'
4+
namespace 'com.android.adbkeyboard'
5+
compileSdk 33
66

77
defaultConfig {
88
applicationId 'com.android.adbkeyboard'
9-
minSdkVersion 15
10-
targetSdkVersion 33
9+
minSdk 21
10+
targetSdk 33
1111
versionCode 2
1212
versionName "2.0"
1313
}

keyboardservice/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.android.adbkeyboard"
32
android:versionCode="1"
43
android:versionName="1.0" >
54

0 commit comments

Comments
 (0)