File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import com.github.jk1.license.filter.ExcludeTransitiveDependenciesFilter
6
6
import com.github.jk1.license.render.JsonReportRenderer
7
- import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
8
7
import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
8
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
9
9
import java.nio.file.Path
10
10
import kotlin.io.path.div
11
11
@@ -94,10 +94,12 @@ licenseReport {
94
94
filters = arrayOf(ExcludeTransitiveDependenciesFilter ())
95
95
}
96
96
97
+
98
+ kotlin {
99
+ jvmToolchain(21 )
100
+ }
97
101
tasks.compileKotlin {
98
- kotlinOptions.freeCompilerArgs + = listOf (
99
- " -opt-in=kotlinx.serialization.ExperimentalSerializationApi" ,
100
- )
102
+ compilerOptions.jvmTarget.set(JvmTarget .JVM_21 )
101
103
}
102
104
103
105
val restartToolbox by tasks.creating {
@@ -180,8 +182,8 @@ val uploadPlugin by tasks.creating {
180
182
dependsOn(pluginZip)
181
183
182
184
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)
185
187
186
188
// first upload
187
189
// instance.uploader.uploadNewPlugin(
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
gateway = " 2.6.0.34606"
3
- kotlin = " 1.9.0 "
3
+ kotlin = " 2.0.10 "
4
4
coroutines = " 1.7.3"
5
5
serialization = " 1.5.0"
6
6
okhttp = " 4.10.0"
Original file line number Diff line number Diff line change 5
5
plugins {
6
6
// Apply the java-library plugin for API and implementation separation.
7
7
`java- library`
8
- id(" org.jetbrains.kotlin.jvm" ) version " 1.9.0 "
8
+ id(" org.jetbrains.kotlin.jvm" ) version " 2.0.10 "
9
9
}
10
10
11
11
repositories {
You can’t perform that action at this time.
0 commit comments