Skip to content

Commit

Permalink
beta3 了都,大哥你别再出问题了 plzplzplz
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Dec 23, 2023
1 parent e03c000 commit b7f7bde
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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.MavenMultiplatformPublishingConfigExtensions
import love.forte.gradle.common.publication.configure.multiplatformConfigPublishing

plugins {
Expand Down Expand Up @@ -42,42 +41,10 @@ multiplatformConfigPublishing {
mainHost = null
}

}

val config = MavenMultiplatformPublishingConfigExtensions().apply {
project = IProject
val jarJavadoc by tasks.registering(Jar::class) {
group = "documentation"
archiveClassifier.set("javadoc")
}
artifact(jarJavadoc)
isSnapshot = project.version.toString().contains("SNAPSHOT", true)
releasesRepository = ReleaseRepository
snapshotRepository = SnapshotRepository
gpg = Gpg.ofSystemPropOrNull()

if (systemProp("SIMBOT_LOCAL").toBoolean()) {
logger.info("Is 'SIMBOT_LOCAL', mainHost set as null")
mainHost = null
}

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) {
//
// }
//}



Expand Down

0 comments on commit b7f7bde

Please sign in to comment.