Publish plugin v2
This commit is contained in:
parent
af514243f6
commit
87591ecc67
@ -44,3 +44,11 @@ sourceSets {
|
|||||||
tasks.named<JavaCompile>("compileTestJava") {
|
tasks.named<JavaCompile>("compileTestJava") {
|
||||||
options.compilerArgs.add("-AmodId=example-mod")
|
options.compilerArgs.add("-AmodId=example-mod")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
create<MavenPublication>("maven") {
|
||||||
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user