• Home
  • Raw
  • Download

Lines Matching +full:root +full:- +full:pom

10 …* Copyright 2017-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…  in <lambda>()
15 `maven-publish` in <lambda>()
20 "kotlinx-serialization-core",
21 "kotlinx-serialization-json",
22 "kotlinx-serialization-json-okio",
23 "kotlinx-serialization-json-io",
24 "kotlinx-serialization-json-tests",
25 "kotlinx-serialization-protobuf",
26 "kotlinx-serialization-cbor",
27 "kotlinx-serialization-properties"
30 val isBom = name == "kotlinx-serialization-bom"
46 // no-op: sourceSets is [] for BOM, as it does not have sources. in <lambda>()
66 "kotlinMultiplatform" -> { in <lambda>()
67 … // With Kotlin 1.4.0, the root module ID has no suffix, but for compatibility with in <lambda>()
72 "metadata", "jvm", "js", "native" -> artifactId = "${project.name}-$type" in <lambda>()
76 …// The 'root' module publishes the JVM module's Javadoc JAR as per reconfigureMultiplatformPublica… in <lambda>()
85 pom.configureMavenCentralMetadata() in <lambda>()
110 "kotlinx.kover.gradle-plugin",
116 val testPublicationTask: TaskCollection<*> = tasks.named { name -> name == "publishAllPublicationsT… in name()
134 // NOTE: This is a temporary WA, see KT-61313.
141 // NOTE: This is a temporary WA, see KT-61313.
156 url = "https://www.apache.org/licenses/LICENSE-2.0.txt" in configureMavenCentralMetadata()
178 * Re-configure common publication to depend on JVM artifact only in pom.xml.
180 …* Publish the platform JAR and POM so that consumers who depend on this module and can't read Gra…
181 * metadata can still get the platform artifact and transitive dependencies from the POM.
191 jvmPublication.pom.withXml { jvmPublicationXml = this } in reconfigureMultiplatformPublication()
193 kmpPublication.pom.withXml { in reconfigureMultiplatformPublication()
194 val root = asNode() in reconfigureMultiplatformPublication() constant
195 // Remove the original content and add the content from the platform POM: in reconfigureMultiplatformPublication()
196 root.children().toList().forEach { root.remove(it as Node) } in reconfigureMultiplatformPublication()
197 jvmPublicationXml!!.asNode().children().forEach { root.append(it as Node) } in reconfigureMultiplatformPublication()
199 // Adjust the self artifact ID, as it should match the root module's coordinates: in reconfigureMultiplatformPublication()
200 ((root["artifactId"] as NodeList).first() as Node).setValue(kmpPublication.artifactId) in reconfigureMultiplatformPublication()
202 // Set packaging to POM to indicate that there's no artifact: in reconfigureMultiplatformPublication()
203 root.appendNode("packaging", "pom") in reconfigureMultiplatformPublication()
206 val dependencies = (root["dependencies"] as NodeList).first() as Node in reconfigureMultiplatformPublication()
246 // TODO -SNAPSHOT detection can be made here as well in mavenRepositoryUri()