plugins { `maven-publish` id("io.github.goooler.shadow") } val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME") val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD") dependencies { implementation(project(":api")) // API compileOnly("com.alttd.cosmos:cosmos-api:1.21.8-R0.1-SNAPSHOT") { isChanging = true } compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1") // move to proxy compileOnly("org.apache.commons:commons-lang3:3.17.0") // needs an alternative, already removed from upstream api and will be removed in server compileOnly("net.luckperms:api:5.5") // Luckperms implementation("com.alttd.inventory_gui:InventoryGUI:1.1.3-SNAPSHOT") } tasks { shadowJar { archiveFileName.set("${rootProject.name}-${project.name}-${project.version}.jar") } build { dependsOn(shadowJar) } }