added publications
This commit is contained in:
16
build.gradle
16
build.gradle
@@ -2,6 +2,7 @@ plugins {
|
||||
id 'net.woggioni.gradle.lombok' apply false
|
||||
id 'net.woggioni.gradle.wildfly'
|
||||
id 'war'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
import net.woggioni.gradle.wildfly.Deploy2WildflyTask
|
||||
@@ -114,4 +115,17 @@ Provider<War> warTaskProvider = tasks.named('war', War) {
|
||||
}
|
||||
|
||||
tasks.named('deploy2Wildfly', Deploy2WildflyTask) {
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://mvn.woggioni.net/'
|
||||
}
|
||||
}
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
from(components["web"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user