Revert "trying to update up to gradle wrapper 8.1.1"

This reverts commit 5edb0e1331.
This commit is contained in:
2023-04-27 15:00:43 +06:00
parent 5edb0e1331
commit 58836359cc
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"))
}