This commit is contained in:
19
build.gradle
19
build.gradle
@@ -37,7 +37,7 @@ allprojects {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://woggioni.net/mvn/'
|
||||
url = getProperty('gitea.maven.url')
|
||||
content {
|
||||
includeGroup 'net.woggioni'
|
||||
includeGroup 'com.lys'
|
||||
@@ -123,9 +123,9 @@ Provider<War> warTaskProvider = tasks.named('war', War) { War it ->
|
||||
|
||||
tasks.named('deploy2Wildfly', Deploy2WildflyTask) { d2w ->
|
||||
d2w.rpcPort = 9990
|
||||
d2w.rpcUsername = 'woggioni'
|
||||
// d2w.rpcUsername = 'woggioni'
|
||||
// d2w.rpcUsername = 'admin'
|
||||
d2w.rpcPassword = '123456'
|
||||
// d2w.rpcPassword = '123456'
|
||||
d2w.deploymentName = 'jpacrepo.war'
|
||||
}
|
||||
|
||||
@@ -141,9 +141,20 @@ tasks.named("test", Test) {
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://mvn.woggioni.net/'
|
||||
name = "Gitea"
|
||||
url = uri(getProperty('gitea.maven.url'))
|
||||
|
||||
credentials(HttpHeaderCredentials) {
|
||||
name = "Authorization"
|
||||
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
|
||||
}
|
||||
|
||||
authentication {
|
||||
header(HttpHeaderAuthentication)
|
||||
}
|
||||
}
|
||||
}
|
||||
publications {
|
||||
|
Reference in New Issue
Block a user