mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-05 18:25:28 +08:00
Update Kotlin and Gradle version
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
//file:noinspection unused
|
//file:noinspection unused
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '7.1.2' apply false
|
id 'com.android.application' version '7.1.3' apply false
|
||||||
id 'com.android.library' version '7.1.2' apply false
|
id 'com.android.library' version '7.1.3' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
|
id 'org.jetbrains.kotlin.android' version '1.6.20' apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application'
|
id 'com.android.application'
|
||||||
id 'org.jetbrains.kotlin.android'
|
id 'org.jetbrains.kotlin.android'
|
||||||
id 'com.google.devtools.ksp' version '1.6.10-1.0.4'
|
id 'com.google.devtools.ksp' version '1.6.20-1.0.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'org.jetbrains.kotlin.jvm'
|
id 'org.jetbrains.kotlin.jvm'
|
||||||
id 'com.google.devtools.ksp' version '1.6.10-1.0.4'
|
id 'com.google.devtools.ksp' version '1.6.20-1.0.5'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,12 @@ javadoc {
|
|||||||
|
|
||||||
kotlin { sourceSets.main { kotlin.srcDir("src/api/kotlin") } }
|
kotlin { sourceSets.main { kotlin.srcDir("src/api/kotlin") } }
|
||||||
|
|
||||||
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||||
|
kotlinOptions {
|
||||||
|
jvmTarget = 11
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.google.auto.service:auto-service-annotations:1.0.1'
|
implementation 'com.google.auto.service:auto-service-annotations:1.0.1'
|
||||||
compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.6.20-RC-1.0.4'
|
compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.6.20-RC-1.0.4'
|
||||||
|
@@ -32,6 +32,7 @@ kotlin {
|
|||||||
|
|
||||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
jvmTarget = 11
|
||||||
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiPrivateApi"
|
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiPrivateApi"
|
||||||
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiGenerateApi"
|
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiGenerateApi"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user