migrated to Gitea
All checks were successful
CI / build (push) Successful in 53s

This commit is contained in:
2024-04-14 19:12:18 +08:00
parent 1890d1d7b5
commit 06e8949b8e
11 changed files with 62 additions and 58 deletions

View File

@@ -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 {