Update Gradle & PlatformSDK

- Update Android Sdk version to 33
- Update Gradle version to 7.5.1
- Merge legacy code
This commit is contained in:
2022-08-21 22:20:47 +08:00
parent 4f730fb8a1
commit 268cad8fd3
4 changed files with 6 additions and 6 deletions

View File

@@ -15,12 +15,12 @@ android {
}
}
compileSdk 32
compileSdk 33
defaultConfig {
applicationId "com.highcapable.yukihookapi.demo_app"
minSdk 21
targetSdk 32
targetSdk 33
versionCode 1
versionName "1.0"

View File

@@ -16,12 +16,12 @@ android {
}
}
compileSdk 32
compileSdk 33
defaultConfig {
applicationId "com.highcapable.yukihookapi.demo_module"
minSdk 21
targetSdk 32
targetSdk 33
versionCode 1
versionName "1.0"

View File

@@ -50,7 +50,7 @@ class PreferenceActivity : ModuleAppCompatActivity() {
}
override fun onSupportNavigateUp(): Boolean {
onBackPressed()
onBackPressedDispatcher.onBackPressed()
return true
}

View File

@@ -1,6 +1,6 @@
#Sat Jan 29 22:55:22 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME