File tree Expand file tree Collapse file tree 9 files changed +21
-38
lines changed
Expand file tree Collapse file tree 9 files changed +21
-38
lines changed Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
3+
14plugins {
25 autowire(libs.plugins.android.application) apply false
36 autowire(libs.plugins.android.library) apply false
47 autowire(libs.plugins.kotlin.jvm) apply false
58 autowire(libs.plugins.kotlin.android) apply false
69 autowire(libs.plugins.kotlin.ksp) apply false
10+ }
11+
12+ allprojects {
13+ tasks.withType<KotlinJvmCompile >().configureEach {
14+ compilerOptions {
15+ jvmTarget = JvmTarget .JVM_17
16+ freeCompilerArgs.addAll(
17+ " -Xno-param-assertions" ,
18+ " -Xno-call-assertions" ,
19+ " -Xno-receiver-assertions"
20+ )
21+ }
22+ }
723}
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
33android.useAndroidX =true
44android.nonTransitiveRClass =true
55kotlin.code.style =official
6- kotlin.incremental.useClasspathSnapshot =true
76# Project Configuration
87project.name =YukiHookAPI
98project.url =https://github.com/HighCapable/YukiHookAPI
Original file line number Diff line number Diff line change @@ -19,16 +19,16 @@ repositories:
1919plugins :
2020 org.jetbrains.kotlin.jvm :
2121 alias : kotlin-jvm
22- version : 2.1 .10
22+ version : 2.2 .10
2323 org.jetbrains.kotlin.android :
2424 alias : kotlin-android
2525 version-ref : kotlin-jvm
2626 com.google.devtools.ksp :
2727 alias : kotlin-ksp
28- version : 2.1 .10-1 .0.31
28+ version : 2.2 .10-2 .0.2
2929 com.android.application :
3030 alias : android-application
31- version : 8.9.3
31+ version : 8.12.1
3232 com.android.library :
3333 alias : android-library
3434 version-ref : android-application
Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ android {
2626 sourceCompatibility = JavaVersion .VERSION_17
2727 targetCompatibility = JavaVersion .VERSION_17
2828 }
29- kotlinOptions {
30- jvmTarget = " 17"
31- freeCompilerArgs = listOf (
32- " -Xno-param-assertions" ,
33- " -Xno-call-assertions" ,
34- " -Xno-receiver-assertions"
35- )
36- }
3729 buildFeatures {
3830 buildConfig = true
3931 viewBinding = true
Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ android {
2626 sourceCompatibility = JavaVersion .VERSION_17
2727 targetCompatibility = JavaVersion .VERSION_17
2828 }
29- kotlinOptions {
30- jvmTarget = " 17"
31- freeCompilerArgs = listOf (
32- " -Xno-param-assertions" ,
33- " -Xno-call-assertions" ,
34- " -Xno-receiver-assertions"
35- )
36- }
3729 buildFeatures {
3830 buildConfig = true
3931 viewBinding = true
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
88}
99plugins {
1010 id(" com.highcapable.sweetdependency" ) version " 1.0.4"
11- id(" com.highcapable.sweetproperty" ) version " 1.0.5 "
11+ id(" com.highcapable.sweetproperty" ) version " 1.0.8 "
1212}
1313sweetProperty {
1414 global {
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ android {
2727 sourceCompatibility = JavaVersion .VERSION_17
2828 targetCompatibility = JavaVersion .VERSION_17
2929 }
30- kotlinOptions {
31- jvmTarget = " 17"
32- freeCompilerArgs = listOf (
33- " -Xno-param-assertions" ,
34- " -Xno-call-assertions" ,
35- " -Xno-receiver-assertions"
36- )
37- }
3830 lint { checkReleaseBuilds = false }
3931}
4032
Original file line number Diff line number Diff line change @@ -21,14 +21,6 @@ android {
2121 sourceCompatibility = JavaVersion .VERSION_17
2222 targetCompatibility = JavaVersion .VERSION_17
2323 }
24- kotlinOptions {
25- jvmTarget = " 17"
26- freeCompilerArgs = listOf (
27- " -Xno-param-assertions" ,
28- " -Xno-call-assertions" ,
29- " -Xno-receiver-assertions"
30- )
31- }
3224 lint { checkReleaseBuilds = false }
3325}
3426
You can’t perform that action at this time.
0 commit comments