java-tutorials/gradle-6/module-metadata-publishing/build.gradle.kts

12 lines
178 B
Plaintext

plugins {
java
`maven-publish`
}
publishing {
publications {
register<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}