Update Jvm version to 11

This commit is contained in:
2022-03-29 11:48:42 +08:00
parent 27892ea237
commit ee9ea8b2d5
6 changed files with 13 additions and 15 deletions

4
.idea/compiler.xml generated
View File

@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="1.8">
<bytecodeTargetLevel target="11">
<module name="YukiHookAPI.app" target="11" />
<module name="YukiHookAPI.demo-app" target="11" />
<module name="YukiHookAPI.demo-module" target="11" />
<module name="YukiHookAPI.yukihookapi-yaya" target="11" />
</bytecodeTargetLevel>
</component>

2
.idea/misc.xml generated
View File

@@ -11,7 +11,7 @@
</map>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="11" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@@ -35,11 +35,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
}
}

View File

@@ -36,11 +36,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
}
}

View File

@@ -7,8 +7,8 @@ plugins {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withJavadocJar()
withSourcesJar()
}
@@ -22,7 +22,7 @@ kotlin { sourceSets.main { kotlin.srcDir("src/api/kotlin") } }
dependencies {
implementation 'com.google.auto.service:auto-service-annotations:1.0.1'
compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.2'
compileOnly 'com.google.devtools.ksp:symbol-processing-api:1.6.20-RC-1.0.4'
ksp 'dev.zacsweers.autoservice:auto-service-ksp:1.0.0'
}

View File

@@ -6,8 +6,8 @@ plugins {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceSets.main { java.srcDir("src/api/kotlin") }
withJavadocJar()
withSourcesJar()