Browse Source

update sdk to 33

lyq.me@qq.com 1 year ago
parent
commit
c4b678954c
3 changed files with 15 additions and 12 deletions
  1. 12 11
      app/build.gradle
  2. 3 1
      app/src/main/AndroidManifest.xml
  3. 0 0
      gradlew

+ 12 - 11
app/build.gradle

@@ -9,7 +9,7 @@ if (keystoreProperitiesFile.exists()) {
 }
 
 android {
-    compileSdkVersion 32
+    compileSdkVersion 33
     
     signingConfigs {
         release {
@@ -23,9 +23,9 @@ android {
     defaultConfig {
         applicationId "me.yoqi.android.safekeyboard"
         minSdkVersion 16
-        targetSdkVersion 32
-        versionCode 1
-        versionName "1.0"
+        targetSdkVersion 33
+        versionCode 10001
+        versionName "1.0.1"
 
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
@@ -45,11 +45,12 @@ android {
 }
 
 dependencies {
-
-    implementation 'androidx.appcompat:appcompat:1.2.0'
-    implementation 'com.google.android.material:material:1.2.1'
-    implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
-    testImplementation 'junit:junit:4.+'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+    implementation fileTree(dir: "libs", include: ["*.jar"])
+    
+    implementation 'androidx.appcompat:appcompat:1.5.0'
+    implementation 'com.google.android.material:material:1.6.1'
+    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+    testImplementation 'junit:junit:4.13.2'
+    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
 }

+ 3 - 1
app/src/main/AndroidManifest.xml

@@ -14,7 +14,8 @@
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:theme="@style/Theme.SafeKeyboard">
-        <activity android:name=".MainActivity">
+        <activity android:name=".MainActivity"
+        android:exported="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
 
@@ -22,6 +23,7 @@
             </intent-filter>
         </activity>
         <service
+            android:exported="true"
             android:name=".service.KeyboardIME"
             android:label="@string/app_name"
             android:permission="android.permission.BIND_INPUT_METHOD">

+ 0 - 0
gradlew