Files
keycloak-webjar-provider/publish.gradle
John Ahlroos 19243b4707
All checks were successful
Build & Release / release-library (push) Successful in 3m37s
Add gitea publish workflow
2025-06-27 17:14:25 +02:00

70 lines
2.4 KiB
Groovy

/**
Copyright (c) 2024 John Ahlroos
Creative Commons Attribution-NoDerivatives 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-NoDerivatives 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Refer to LICENSE file or https://creativecommons.org/licenses/by-nd/4.0 for full license.
*/
ext {
devsoapToken = findProperty("DEVSOAP_DEPLOY_TOKEN") as String
}
publishing {
repositories {
maven {
name = "DSCode"
url = uri("https://code.devsoap.com/api/packages/john/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${devsoapToken}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
publications {
mavenJava(MavenPublication) {
from components.java
pom {
groupId = 'com.devsoap'
name = 'keycloak-webjar-provider'
description = 'Keycloak Provider for including Webjar assets'
url = 'https://code.devsoap.com/john/keycloak.-webjar-provider'
licenses {
license {
name = 'Apache 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0'
}
}
scm {
url = 'https://code.devsoap.com/john/keycloak-webjar-provider'
connection = 'scm:git://code.devsoap.com/john/keycloak-webjar-provider.git'
developerConnection = 'scm:git://code.devsoap.com/john/keycloak-webjar-provider.git'
}
developers {
developer {
id = 'john'
name = 'John Ahlroos'
email = 'john@devsoap.com'
organizationUrl = 'https://devsoap.com'
}
}
}
}
}
}