Skip to content

Commit 349f5f8

Browse files
committed
build: update dependencies
- removed gateway api's no longer available in Toolbox 2.6.0 - replaced it with a couple of new toolbox api libraries
1 parent 0e87862 commit 349f5f8

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
## Gradle
1515
.gradle
1616
build
17+
jvm/
1718

1819
## Qodana
1920
.qodana

build.gradle.kts

+15-5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import com.github.jk1.license.filter.ExcludeTransitiveDependenciesFilter
22
import com.github.jk1.license.render.JsonReportRenderer
33
import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
44
import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
5+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
56
import java.nio.file.Path
67
import kotlin.io.path.div
78

@@ -11,6 +12,7 @@ plugins {
1112
`java-library`
1213
alias(libs.plugins.dependency.license.report)
1314
alias(libs.plugins.ksp)
15+
alias(libs.plugins.gradle.wrapper)
1416
}
1517

1618
buildscript {
@@ -21,11 +23,21 @@ buildscript {
2123

2224
repositories {
2325
mavenCentral()
24-
maven("https://packages.jetbrains.team/maven/p/tbx/gateway")
26+
maven("https://packages.jetbrains.team/maven/p/tbx/toolbox-api")
27+
}
28+
29+
jvmWrapper {
30+
unixJvmInstallDir = "jvm"
31+
winJvmInstallDir = "jvm"
32+
linuxAarch64JvmUrl = "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-21.0.5-linux-aarch64-b631.28.tar.gz"
33+
linuxX64JvmUrl = "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-21.0.5-linux-x64-b631.28.tar.gz"
34+
macAarch64JvmUrl = "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-21.0.5-osx-aarch64-b631.28.tar.gz"
35+
macX64JvmUrl = "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-21.0.5-osx-x64-b631.28.tar.gz"
36+
windowsX64JvmUrl = "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-21.0.5-windows-x64-b631.28.tar.gz"
2537
}
2638

2739
dependencies {
28-
implementation(libs.gateway.api)
40+
compileOnly(libs.bundles.toolbox.plugin.api)
2941
implementation(libs.slf4j)
3042
implementation(libs.bundles.serialization)
3143
implementation(libs.coroutines.core)
@@ -46,9 +58,7 @@ licenseReport {
4658
}
4759

4860
tasks.compileKotlin {
49-
kotlinOptions.freeCompilerArgs += listOf(
50-
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
51-
)
61+
compilerOptions.jvmTarget.set(JvmTarget.JVM_21)
5262
}
5363

5464
tasks.test {

0 commit comments

Comments
 (0)