File tree Expand file tree Collapse file tree 6 files changed +9
-6
lines changed
jupyter-lib/kotlin-jupyter-api-gradle-plugin Expand file tree Collapse file tree 6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change
1
+ import com.github.jengelman.gradle.plugins.shadow.transformers.ComponentsXmlResourceTransformer
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
import org.jetbrains.kotlinx.jupyter.build.getFlag
3
4
import org.jetbrains.kotlinx.jupyter.plugin.options
@@ -103,6 +104,7 @@ dependencies {
103
104
implKotlin(" scripting-compiler-impl-embeddable" )
104
105
implKotlin(" scripting-compiler-embeddable" )
105
106
implKotlin(" scripting-ide-services" )
107
+ implKotlin(" scripting-dependencies" )
106
108
implKotlin(" scripting-dependencies-maven" )
107
109
implKotlin(" script-util" )
108
110
implKotlin(" scripting-common" )
@@ -153,6 +155,7 @@ tasks.shadowJar {
153
155
archiveBaseName.set(taskOptions.packageName)
154
156
archiveClassifier.set(" " )
155
157
mergeServiceFiles()
158
+ transform(ComponentsXmlResourceTransformer ())
156
159
157
160
manifest {
158
161
attributes(tasks.jar.get().manifest.attributes)
Original file line number Diff line number Diff line change 8
8
9
9
# Kotlin kernel for IPython/Jupyter
10
10
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 ) .
12
12
13
13
Beta version. Tested with Jupyter Notebook 6.0.3, Jupyter Lab 1.2.6 and Jupyter Console 6.1.0
14
14
on Windows, Ubuntu Linux and macOS.
Original file line number Diff line number Diff line change 1
1
# kotlinVersion=1.5.255-SNAPSHOT
2
- kotlinVersion =1.5.30-dev-598
2
+ kotlinVersion =1.5.30-dev-1044
3
3
stableKotlinVersion =1.5.0
4
4
kotlinLanguageLevel =1.5
5
5
stableKotlinLanguageLevel =1.5
6
6
jvmTarget =1.8
7
7
8
- shadowJarVersion =6.1 .0
8
+ shadowJarVersion =7.0 .0
9
9
kotlinxSerializationVersion =1.1.0
10
10
ktlintGradleVersion =10.0.0
11
11
ktlintVersion =0.40.0
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
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
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id(" com.gradle.plugin-publish" ) version " 0.12.0 "
2
+ id(" com.gradle.plugin-publish" )
3
3
id(" org.jlleitschuh.gradle.ktlint" )
4
4
`java- gradle- plugin`
5
5
`kotlin- dsl`
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ pluginManagement {
35
35
resolutionStrategy {
36
36
eachPlugin {
37
37
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 " )
39
39
" org.jlleitschuh.gradle.ktlint" -> useModule(" org.jlleitschuh.gradle:ktlint-gradle:$ktlintGradleVersion " )
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments