File tree 2 files changed +3
-2
lines changed
kotlin-jupyter-publish/src/main/kotlin/org/jetbrains/kotlinx/jupyter/publishing
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ plugins {
14
14
id(" org.jetbrains.kotlinx.jupyter.doc" )
15
15
}
16
16
17
+ extra[" isMainProject" ] = true
18
+
17
19
val kotlinxSerializationVersion: String by project
18
20
val ktlintVersion: String by project
19
21
val junitVersion: String by project
Original file line number Diff line number Diff line change @@ -165,9 +165,8 @@ fun Project.addPublication(configuration: ArtifactPublication.() -> Unit) {
165
165
}
166
166
167
167
val thisProjectName = project.name
168
- println (" Root project for $thisProjectName is ${rootProject.name} " )
169
168
170
- if (rootProject.name == " kotlin-jupyter " ) {
169
+ if (rootProject.findProperty( " isMainProject " ) == true ) {
171
170
rootProject.tasks {
172
171
named(" publishLocal" ) {
173
172
dependsOn(" :$thisProjectName :publishAllPublicationsToLocalBuildRepository" )
You can’t perform that action at this time.
0 commit comments