import org.gradle.internal.impldep.org.junit.experimental.categories.Categories.CategoryFilter.exclude group = "com.willfp" version = rootProject.version dependencies { compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT") compileOnly("com.github.lokka30:LevelledMobs:3.1.4") compileOnly("com.ticxo.modelengine:api:R3.1.8") compileOnly("LibsDisguises:LibsDisguises:10.0.38") } publishing { publications { register("maven") { groupId = project.group.toString() version = project.version.toString() artifactId = rootProject.name artifact(rootProject.tasks.shadowJar.get().archiveFile) } } repositories { maven { name = "auxilor" url = uri("https://repo.auxilor.io/repository/maven-releases/") credentials { username = System.getenv("MAVEN_USERNAME") password = System.getenv("MAVEN_PASSWORD") } } } } tasks { build { dependsOn(publishToMavenLocal) } }