diff --git a/src/main/kotlin/space/kscience/gradle/KScienceProjectPlugin.kt b/src/main/kotlin/space/kscience/gradle/KScienceProjectPlugin.kt index 1c4b584..35a55d7 100644 --- a/src/main/kotlin/space/kscience/gradle/KScienceProjectPlugin.kt +++ b/src/main/kotlin/space/kscience/gradle/KScienceProjectPlugin.kt @@ -198,11 +198,10 @@ public open class KScienceProjectPlugin : Plugin { val modulesString = buildString { subprojects.forEach { subproject -> - val name = subproject.name - val path = subproject.path.replaceFirst(":", "").replace(":", "/") - val ext = subproject.extensions.findByType() - appendLine("\n### [$name]($path)") - if (ext != null) { +// val name = subproject.name + subproject.extensions.findByType()?.let { ext -> + val path = subproject.path.replaceFirst(":", "").replace(":", "/") + appendLine("\n### [$path]($path)") appendLine("> ${ext.description}") appendLine(">\n> **Maturity**: ${ext.maturity}") val featureString = ext.featuresString(itemPrefix = "> - ", pathPrefix = "$path/") @@ -283,7 +282,8 @@ public open class KScienceProjectPlugin : Plugin { } plugins.withType(org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin::class.java) { - rootProject.the().lockFileDirectory = rootDir.resolve("gradle") + rootProject.the().lockFileDirectory = + rootDir.resolve("gradle") } }