From e17ce34d770324859b5d3148df3fc4ed5368e92d Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Fri, 7 Apr 2023 23:55:35 +0800 Subject: [PATCH] Update Gradle & Kotlin - Update Kotlin version to 1.8.20 - Update Gradle version to 8.0.2 - Update Gradle dependencies --- build.gradle | 6 +++--- demo-app/build.gradle | 6 +++--- demo-module/build.gradle | 8 ++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- yukihookapi-ksp-xposed/build.gradle | 4 ++-- yukihookapi/build.gradle | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index c8a668c8..2a947438 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ //file:noinspection unused plugins { - id 'com.android.application' version '7.4.0' apply false - id 'com.android.library' version '7.4.0' apply false - id 'org.jetbrains.kotlin.android' version '1.7.22' apply false + id 'com.android.application' version '7.4.1' apply false + id 'com.android.library' version '7.4.1' apply false + id 'org.jetbrains.kotlin.android' version '1.8.20' apply false } ext { diff --git a/demo-app/build.gradle b/demo-app/build.gradle index d461a29a..082c233d 100644 --- a/demo-app/build.gradle +++ b/demo-app/build.gradle @@ -47,9 +47,9 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.6.0' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'androidx.core:core-ktx:1.10.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' diff --git a/demo-module/build.gradle b/demo-module/build.gradle index 7ce73d9f..56dc040a 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.7.22-1.0.8' + id 'com.google.devtools.ksp' version '1.8.20-1.0.10' } android { @@ -61,9 +61,9 @@ dependencies { // Implementation Processor ksp project(':yukihookapi-ksp-xposed') implementation 'androidx.preference:preference-ktx:1.2.0' - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.6.0' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'androidx.core:core-ktx:1.10.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ebbfef88..c860dc05 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Sat Jan 29 22:55:22 CST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/yukihookapi-ksp-xposed/build.gradle b/yukihookapi-ksp-xposed/build.gradle index 041ecf23..96381b5e 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.7.22-1.0.8' + id 'com.google.devtools.ksp' version '1.8.20-1.0.10' 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.7.22-1.0.8' + compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.8.20-1.0.10' ksp 'dev.zacsweers.autoservice:auto-service-ksp:1.0.0' } diff --git a/yukihookapi/build.gradle b/yukihookapi/build.gradle index 4b62053f..5ff12f17 100644 --- a/yukihookapi/build.gradle +++ b/yukihookapi/build.gradle @@ -48,7 +48,7 @@ dependencies { compileOnly 'de.robv.android.xposed:api:82' compileOnly project(':yukihookapi-stub') compileOnly fileTree(include: ['*.jar'], dir: 'libs') - implementation 'androidx.annotation:annotation:1.5.0' + implementation 'androidx.annotation:annotation:1.6.0' } group = rootProject.ext.groupId