mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
Update Kotlin and Gradle version
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//file:noinspection unused
|
||||
plugins {
|
||||
id 'com.android.application' version '7.1.2' apply false
|
||||
id 'com.android.library' version '7.1.2' apply false
|
||||
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
|
||||
id 'com.android.application' version '7.1.3' apply false
|
||||
id 'com.android.library' version '7.1.3' apply false
|
||||
id 'org.jetbrains.kotlin.android' version '1.6.20' apply false
|
||||
}
|
||||
|
||||
ext {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
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 {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id 'java-library'
|
||||
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 'signing'
|
||||
}
|
||||
@@ -20,6 +20,12 @@ javadoc {
|
||||
|
||||
kotlin { sourceSets.main { kotlin.srcDir("src/api/kotlin") } }
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||
kotlinOptions {
|
||||
jvmTarget = 11
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
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'
|
||||
|
@@ -32,6 +32,7 @@ kotlin {
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||
kotlinOptions {
|
||||
jvmTarget = 11
|
||||
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiPrivateApi"
|
||||
freeCompilerArgs += "-opt-in=com.highcapable.yukihookapi.annotation.YukiGenerateApi"
|
||||
}
|
||||
|
Reference in New Issue
Block a user