Revert "Get back some functional of "trying to update up to gradle wrapper 8.1.1""

This reverts commit b938b21395.
This commit is contained in:
2023-04-27 16:24:58 +06:00
parent b938b21395
commit 2877b5532c
12 changed files with 57 additions and 49 deletions

View File

@@ -13,6 +13,10 @@ repositories {
kotlin {
jvm()
// js(IR) {
// browser()
// nodejs()
// }
android {}
sourceSets {
@@ -34,6 +38,22 @@ kotlin {
}
}
}
// jsMain {
// dependencies {
// implementation kotlin('stdlib')
// project.parent.subprojects.forEach {
// if (
// it != project
// && it.hasProperty("kotlin")
// && it.kotlin.sourceSets.any { it.name.contains("commonMain") }
// && it.kotlin.sourceSets.any { it.name.contains("jsMain") }
// ) {
// api it
// }
// }
// }
// }
jvmMain {
dependencies {
implementation kotlin('stdlib')
@@ -96,6 +116,10 @@ tasks.dokkaHtml {
sourceRoots.setFrom(findSourcesWithName("commonMain"))
}
// named("jsMain") {
// sourceRoots.setFrom(findSourcesWithName("jsMain", "commonMain"))
// }
named("jvmMain") {
sourceRoots.setFrom(findSourcesWithName("jvmMain"))
}