2024-07-02 21:54:08 +00:00
|
|
|
plugins {
|
|
|
|
id("java")
|
2024-07-03 00:06:53 +00:00
|
|
|
id("maven-publish")
|
2024-07-02 21:54:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "gay.shorks"
|
2024-07-03 00:06:53 +00:00
|
|
|
version = "1.0.0+kc.24"
|
2024-07-02 21:54:08 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.keycloak.core)
|
|
|
|
implementation(libs.keycloak.server.spi)
|
|
|
|
implementation(libs.keycloak.services)
|
|
|
|
}
|
2024-07-03 00:06:53 +00:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications.create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
if (System.getenv("MAVEN_URL") != null) {
|
|
|
|
maven {
|
|
|
|
name = "ashhhleyyy"
|
|
|
|
setUrl(System.getenv("MAVEN_URL"))
|
|
|
|
credentials {
|
|
|
|
username = System.getenv("MAVEN_USERNAME")
|
|
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|