diff --git a/libraries/kotlinx-metadata/jvm/build.gradle.kts b/libraries/kotlinx-metadata/jvm/build.gradle.kts index 276a5a1e842..5f3b946c8d7 100644 --- a/libraries/kotlinx-metadata/jvm/build.gradle.kts +++ b/libraries/kotlinx-metadata/jvm/build.gradle.kts @@ -2,6 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.jetbrains.kotlin.gradle.tasks.KotlinCompile description = "Kotlin JVM metadata manipulation library" +group = "org.jetbrains.kotlin" plugins { kotlin("jvm") @@ -10,23 +11,6 @@ plugins { id("org.jetbrains.dokka") } -/* - * To publish this library use `:kotlin-metadata-jvm:publish` task and specify the following parameters - * - * - `-PdeployVersion=1.2.nn`: the version of the standard library dependency to put into .pom - * - `-PkotlinxMetadataDeployVersion=0.0.n`: the version of the library itself - * - `-Pdeploy-url=repository_url`: (optional) the url of repository to deploy to; - * if not specified, the local directory repository `build/repo` will be used - * - `-Pkotlin.build.deploy-username=username`: (optional) the username to authenticate in the deployment repository - * - `-Pkotlin.build.deploy-password=password`: (optional) the password to authenticate in the deployment repository - */ -group = "org.jetbrains.kotlin" -val deployVersion = findProperty("kotlinxMetadataDeployVersion") as String? -version = deployVersion ?: "0.1-SNAPSHOT" - -//kotlin { -// explicitApiWarning() -//} sourceSets { "main" { projectDefault() } @@ -57,9 +41,7 @@ kotlin { } } -if (deployVersion != null) { - publish() -} +publish() val runtimeJar = runtimeJarWithRelocation { from(mainSourceSet.output) diff --git a/repo/artifacts-tests/src/test/resources/org/jetbrains/kotlin/kotlin-metadata-jvm/kotlin-metadata-jvm.pom b/repo/artifacts-tests/src/test/resources/org/jetbrains/kotlin/kotlin-metadata-jvm/kotlin-metadata-jvm.pom new file mode 100644 index 00000000000..8663f244758 --- /dev/null +++ b/repo/artifacts-tests/src/test/resources/org/jetbrains/kotlin/kotlin-metadata-jvm/kotlin-metadata-jvm.pom @@ -0,0 +1,36 @@ + + + 4.0.0 + org.jetbrains.kotlin + kotlin-metadata-jvm + ArtifactsTest.version + Kotlin Metadata Jvm + Kotlin JVM metadata manipulation library + https://kotlinlang.org/ + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + Kotlin Team + JetBrains + https://www.jetbrains.com + + + + scm:git:https://github.com/JetBrains/kotlin.git + scm:git:https://github.com/JetBrains/kotlin.git + https://github.com/JetBrains/kotlin + + + + org.jetbrains.kotlin + kotlin-stdlib + ArtifactsTest.version + compile + + +