File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2- import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
32
43plugins {
54 `kotlin- dsl`
@@ -27,12 +26,11 @@ dependencies {
2726kotlin {
2827 explicitApi()
2928 jvmToolchain {
30- languageVersion.set( JavaLanguageVersion .of(8 ) )
29+ languageVersion = JavaLanguageVersion .of(17 )
3130 }
3231 compilerOptions {
33- apiVersion = KotlinVersion .KOTLIN_1_4
34- jvmTarget = JvmTarget .JVM_1_8
35- freeCompilerArgs = listOf (" -opt-in=kotlin.io.path.ExperimentalPathApi" )
32+ jvmTarget = JvmTarget .JVM_17
33+ freeCompilerArgs = listOf (" -opt-in=kotlin.io.path.ExperimentalPathApi" , " -Xjdk-release=17" )
3634 }
3735}
3836
@@ -58,6 +56,7 @@ indra {
5856 }
5957 }
6058 }
59+ javaVersions().target(17 )
6160 signWithKeyFromProperties(" signingKey" , " signingPassword" )
6261}
6362
@@ -107,3 +106,7 @@ indraPluginPublishing {
107106 tags(" waterfall" , " proxy" )
108107 )
109108}
109+
110+ configurations.runtimeElements {
111+ attributes.attribute(GradlePluginApiVersion .GRADLE_PLUGIN_API_VERSION_ATTRIBUTE , objects.named(GradleVersion .current().version))
112+ }
You can’t perform that action at this time.
0 commit comments