File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 44
55import com.github.jk1.license.filter.ExcludeTransitiveDependenciesFilter
66import com.github.jk1.license.render.JsonReportRenderer
7- import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
87import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
8+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
99import java.nio.file.Path
1010import kotlin.io.path.div
1111
@@ -94,10 +94,12 @@ licenseReport {
9494 filters = arrayOf(ExcludeTransitiveDependenciesFilter ())
9595}
9696
97+
98+ kotlin {
99+ jvmToolchain(21 )
100+ }
97101tasks.compileKotlin {
98- kotlinOptions.freeCompilerArgs + = listOf (
99- " -opt-in=kotlinx.serialization.ExperimentalSerializationApi" ,
100- )
102+ compilerOptions.jvmTarget.set(JvmTarget .JVM_21 )
101103}
102104
103105val restartToolbox by tasks.creating {
@@ -180,8 +182,8 @@ val uploadPlugin by tasks.creating {
180182 dependsOn(pluginZip)
181183
182184 doLast {
183- val token = System .getenv(" JB_MARKETPLACE_PUBLISH_TOKEN" )
184- val instance = PluginRepositoryFactory .create(" https://plugins.jetbrains.com" , token)
185+ // val token = System.getenv("JB_MARKETPLACE_PUBLISH_TOKEN")
186+ // val instance = PluginRepositoryFactory.create("https://plugins.jetbrains.com", token)
185187
186188 // first upload
187189 // instance.uploader.uploadNewPlugin(
Original file line number Diff line number Diff line change 11[versions ]
22gateway = " 2.6.0.34606"
3- kotlin = " 1.9.0 "
3+ kotlin = " 2.0.10 "
44coroutines = " 1.7.3"
55serialization = " 1.5.0"
66okhttp = " 4.10.0"
Original file line number Diff line number Diff line change 55plugins {
66 // Apply the java-library plugin for API and implementation separation.
77 `java- library`
8- id(" org.jetbrains.kotlin.jvm" ) version " 1.9.0 "
8+ id(" org.jetbrains.kotlin.jvm" ) version " 2.0.10 "
99}
1010
1111repositories {
You can’t perform that action at this time.
0 commit comments