icecloak/build.gradle.kts

39 lines
810 B
Text
Raw Permalink Normal View History

2024-07-02 21:54:08 +00:00
plugins {
id("java")
id("maven-publish")
2024-07-02 21:54:08 +00:00
}
group = "gay.shorks"
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)
}
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()
}
}
}