diff --git a/build.gradle b/build.gradle index fe18551e..cea7d23e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ //file:noinspection unused plugins { - id 'com.android.application' version '7.2.0' apply false - id 'com.android.library' version '7.2.0' apply false - id 'org.jetbrains.kotlin.android' version '1.6.21' apply false + id 'com.android.application' version '7.2.1' apply false + id 'com.android.library' version '7.2.1' apply false + id 'org.jetbrains.kotlin.android' version '1.7.0' apply false } ext { diff --git a/demo-app/build.gradle b/demo-app/build.gradle index 3b1219d9..54302ab7 100644 --- a/demo-app/build.gradle +++ b/demo-app/build.gradle @@ -15,12 +15,12 @@ android { } } - compileSdk 31 + compileSdk 32 defaultConfig { applicationId "com.highcapable.yukihookapi.demo_app" - minSdk 22 - targetSdk 31 + minSdk 21 + targetSdk 32 versionCode 1 versionName "1.0" @@ -47,9 +47,9 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'com.google.android.material:material:1.6.0' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.4.2' + 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' diff --git a/demo-module/build.gradle b/demo-module/build.gradle index 78e7a777..09ae48b1 100644 --- a/demo-module/build.gradle +++ b/demo-module/build.gradle @@ -1,7 +1,7 @@ plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' - id 'com.google.devtools.ksp' version '1.6.21-1.0.5' + id 'com.google.devtools.ksp' version '1.7.0-1.0.6' } android { @@ -16,12 +16,12 @@ android { } } - compileSdk 31 + compileSdk 32 defaultConfig { applicationId "com.highcapable.yukihookapi.demo_module" - minSdk 22 - targetSdk 31 + minSdk 21 + targetSdk 32 versionCode 1 versionName "1.0" @@ -60,9 +60,9 @@ dependencies { // Implementation Processor ksp project(':yukihookapi-ksp-xposed') implementation 'androidx.preference:preference-ktx:1.2.0' - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'com.google.android.material:material:1.6.0' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.4.2' + 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' diff --git a/gradle.properties b/gradle.properties index cd0519bb..453b5ca5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-XX:+UseParallelGC # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects @@ -20,4 +20,6 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file +android.nonTransitiveRClass=true +# Incremental +kotlin.incremental.useClasspathSnapshot=true \ No newline at end of file diff --git a/yukihookapi-ksp-xposed/build.gradle b/yukihookapi-ksp-xposed/build.gradle index 1a8088c6..c2f2105c 100644 --- a/yukihookapi-ksp-xposed/build.gradle +++ b/yukihookapi-ksp-xposed/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java-library' id 'org.jetbrains.kotlin.jvm' - id 'com.google.devtools.ksp' version '1.6.21-1.0.5' + id 'com.google.devtools.ksp' version '1.7.0-1.0.6' id 'maven-publish' id 'signing' } @@ -28,7 +28,7 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { dependencies { implementation 'com.google.auto.service:auto-service-annotations:1.0.1' - compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.6.21-1.0.5' + compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.7.0-1.0.6' ksp 'dev.zacsweers.autoservice:auto-service-ksp:1.0.0' }