diff --git a/plugins/src/main/kotlin/publication.gradle.kts b/plugins/src/main/kotlin/publication.gradle.kts index 2b0bc376..2fad774d 100644 --- a/plugins/src/main/kotlin/publication.gradle.kts +++ b/plugins/src/main/kotlin/publication.gradle.kts @@ -52,6 +52,15 @@ publishing { } } + // Creating maven artifacts for jvm + publications { + if (project.name.substringAfterLast("-") == "jvm") { + create("maven") { + from(components["java"]) + } + } + } + // Configure all publications publications.withType { val artifactName: String by project