Skip to content

Commit d978af0

Browse files
committed
Update Kotlin, Gradle and ShadowJAR versions
Add new ShadowJAR transformer for correct packing of plexus components whic are used in Maven resolver
1 parent b2d8d15 commit d978af0

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import com.github.jengelman.gradle.plugins.shadow.transformers.ComponentsXmlResourceTransformer
12
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
import org.jetbrains.kotlinx.jupyter.build.getFlag
34
import org.jetbrains.kotlinx.jupyter.plugin.options
@@ -103,6 +104,7 @@ dependencies {
103104
implKotlin("scripting-compiler-impl-embeddable")
104105
implKotlin("scripting-compiler-embeddable")
105106
implKotlin("scripting-ide-services")
107+
implKotlin("scripting-dependencies")
106108
implKotlin("scripting-dependencies-maven")
107109
implKotlin("script-util")
108110
implKotlin("scripting-common")
@@ -153,6 +155,7 @@ tasks.shadowJar {
153155
archiveBaseName.set(taskOptions.packageName)
154156
archiveClassifier.set("")
155157
mergeServiceFiles()
158+
transform(ComponentsXmlResourceTransformer())
156159

157160
manifest {
158161
attributes(tasks.jar.get().manifest.attributes)

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Kotlin kernel for IPython/Jupyter
1010

11-
[Kotlin](https://kotlinlang.org/) (1.5.30-dev-598) kernel for [Jupyter](https://jupyter.org).
11+
[Kotlin](https://kotlinlang.org/) (1.5.30-dev-1044) kernel for [Jupyter](https://jupyter.org).
1212

1313
Beta version. Tested with Jupyter Notebook 6.0.3, Jupyter Lab 1.2.6 and Jupyter Console 6.1.0
1414
on Windows, Ubuntu Linux and macOS.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# kotlinVersion=1.5.255-SNAPSHOT
2-
kotlinVersion=1.5.30-dev-598
2+
kotlinVersion=1.5.30-dev-1044
33
stableKotlinVersion=1.5.0
44
kotlinLanguageLevel=1.5
55
stableKotlinLanguageLevel=1.5
66
jvmTarget=1.8
77

8-
shadowJarVersion=6.1.0
8+
shadowJarVersion=7.0.0
99
kotlinxSerializationVersion=1.1.0
1010
ktlintGradleVersion=10.0.0
1111
ktlintVersion=0.40.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

jupyter-lib/kotlin-jupyter-api-gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("com.gradle.plugin-publish") version "0.12.0"
2+
id("com.gradle.plugin-publish")
33
id("org.jlleitschuh.gradle.ktlint")
44
`java-gradle-plugin`
55
`kotlin-dsl`

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pluginManagement {
3535
resolutionStrategy {
3636
eachPlugin {
3737
when (requested.id.id) {
38-
"com.github.johnrengelman.shadow" -> useModule("com.github.jengelman.gradle.plugins:shadow:$shadowJarVersion")
38+
"com.github.johnrengelman.shadow" -> useModule("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:$shadowJarVersion")
3939
"org.jlleitschuh.gradle.ktlint" -> useModule("org.jlleitschuh.gradle:ktlint-gradle:$ktlintGradleVersion")
4040
}
4141
}

0 commit comments

Comments
 (0)