11import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
22
33plugins {
4- id(" org.jetbrains.intellij" ) version " 1.7 .0"
4+ id(" org.jetbrains.intellij" ) version " 1.12 .0"
55 kotlin(" jvm" )
66 kotlin(" plugin.serialization" )
77
@@ -13,16 +13,14 @@ kotlin.targets.asSequence()
1313 .filter { it.platformType == org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType .jvm }
1414 .map { it.kotlinOptions }
1515 .filterIsInstance< org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions > ()
16- .forEach { it.jvmTarget = " 11 " }
16+ .forEach { it.jvmTarget = " 17 " }
1717
1818java {
19- sourceCompatibility = JavaVersion .VERSION_11
20- targetCompatibility = JavaVersion .VERSION_11
19+ sourceCompatibility = JavaVersion .VERSION_17
20+ targetCompatibility = JavaVersion .VERSION_17
2121}
2222
2323dependencies {
24- compileOnly(kotlin(" stdlib-jdk8" ))
25-
2624 api(project(" :kotlin-jvm-blocking-bridge-runtime" ))
2725 api(project(" :kotlin-jvm-blocking-bridge-compiler" ))
2826
@@ -47,7 +45,10 @@ intellij {
4745 listOf (
4846// "org.jetbrains.kotlin:211-1.5.30-M1-release-141-IJ7442.40@eap",
4947 " java" ,
50- " org.jetbrains.kotlin:${Versions .kotlinIdea} "
48+ if (Versions .kotlinIdea == null )
49+ " org.jetbrains.kotlin"
50+ else
51+ " org.jetbrains.kotlin:${Versions .kotlinIdea} "
5152 )
5253 )
5354}
@@ -63,11 +64,11 @@ tasks.getByName("publishPlugin", org.jetbrains.intellij.tasks.PublishPluginTask:
6364}
6465
6566tasks.withType< org.jetbrains.intellij.tasks.PatchPluginXmlTask > {
66- sinceBuild.set(" 213 .0" )
67- untilBuild.set(" 222 .*" )
67+ sinceBuild.set(" 223 .0" )
68+ untilBuild.set(" 223 .*" )
6869 changeNotes.set(
6970 """
70- See <a href="">Release notes</a>
71+ See <a href="https://github.com/Him188/kotlin-jvm-blocking-bridge ">Release notes</a>
7172 """ .trimIndent()
7273 )
7374}
0 commit comments