icecloak/build.gradle.kts

38 lines
810 B
Text

plugins {
id("java")
id("maven-publish")
}
group = "gay.shorks"
version = "1.0.0+kc.24"
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()
}
}
}