Skip to content

Commit

Permalink
beta3 了都,大哥你别再出问题了 plz
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Dec 23, 2023
1 parent 92d52bd commit e03c000
Showing 1 changed file with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import love.forte.gradle.common.core.Gpg
import love.forte.gradle.common.core.project.setup
import love.forte.gradle.common.core.property.systemProp
import love.forte.gradle.common.publication.configure.*
import love.forte.gradle.common.publication.configure.MavenMultiplatformPublishingConfigExtensions
import love.forte.gradle.common.publication.configure.multiplatformConfigPublishing

plugins {
id("org.jetbrains.dokka")
Expand Down Expand Up @@ -60,22 +61,23 @@ val config = MavenMultiplatformPublishingConfigExtensions().apply {
mainHost = null
}

mainHostSupportedTargets += setOf("wasm_js")
publicationsFromMainHost += setOf("wasm", "wasm32", "wasm_js")
mainHostSupportedTargets += setOf("wasm", "wasm32", "wasm_js")
}

publishing {
commonConfigPublishingRepositories(config)
publications {
withType<MavenPublication> {
commonConfigMavenPublication(project, config)
}
}
commonPublicationSignConfig(config)

if (config.mainHost != null) {

}
}
//publishing {
// commonConfigPublishingRepositories(config)
// publications {
// withType<MavenPublication> {
// commonConfigMavenPublication(project, config)
// }
// }
// commonPublicationSignConfig(config)
//
// if (config.mainHost != null) {
//
// }
//}



Expand Down

0 comments on commit e03c000

Please sign in to comment.