Simplify buildscript: remove redundant comments

This commit is contained in:
Him188 2022-01-06 04:46:58 +00:00
parent 0c964f3144
commit 2a036d7bb3
2 changed files with 0 additions and 17 deletions

View File

@ -27,13 +27,8 @@ kotlin {
explicitApi()
if (isAndroidSDKAvailable) {
// apply(from = rootProject.file("gradle/android.gradle"))
// android("android") {
// publishAllLibraryVariants()
// }
jvm("android") {
attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.androidJvm)
// publishAllLibraryVariants()
}
} else {
printAndroidNotInstalled()
@ -45,9 +40,6 @@ kotlin {
jvm("jvm")
// jvm("android") {
// attributes.attribute(Attribute.of("mirai.target.platform", String::class.java), "android")
// }
sourceSets {
val commonMain by getting {

View File

@ -33,13 +33,8 @@ kotlin {
explicitApi()
if (isAndroidSDKAvailable) {
// apply(from = rootProject.file("gradle/android.gradle"))
// android("android") {
// publishAllLibraryVariants()
// }
jvm("android") {
attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.androidJvm)
// publishAllLibraryVariants()
}
} else {
printAndroidNotInstalled()
@ -51,10 +46,6 @@ kotlin {
jvm("jvm")
/*
jvm("android") {
attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "android")
}*/
sourceSets.apply {
val commonMain by getting {