Skip to content

Commit 77953e7

Browse files
committed
Fix the name of the artifactId for the android variant (it apparently
needs to be the same for consumers - serialization-io)
1 parent 02d33ed commit 77953e7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: project-plugins/src/main/kotlin/io/github/xmlutil/plugin/ProjectPlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ProjectPlugin @Inject constructor(
9797
project.extensions.configure<PublishingExtension> {
9898
publications {
9999
create<MavenPublication>("android") {
100-
artifactId = "${project.name}-android"
100+
artifactId = project.name
101101
from(component)
102102
}
103103
}

Diff for: project-plugins/src/main/kotlin/net/devrieze/gradle/ext/nativeTargets.kt

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ private val defaultXmlUtilHierarchyTemplate = KotlinHierarchyTemplate {
131131
val Project.nativeState: NativeState
132132
get() = rootProject.extraProperties["nativeTargets"] as NativeState
133133

134-
//@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
135134
fun Project.addNativeTargets(includeWasm: Boolean = true, includeWasi: Boolean = true) {
136135
val ideaActive = System.getProperty("idea.active") == "true"
137136
val nativeState = when(property("native.deploy")?.toString()?.lowercase()) {

0 commit comments

Comments
 (0)