plugins { alias(libs.plugins.shadow) alias(libs.plugins.runvelocity) id("authmevelocity.spotless") } repositories { maven("https://repo.codemc.org/repository/maven-public/") { mavenContent { includeGroup("com.github.games647") } } maven("https://repo.alessiodp.com/releases/") { mavenContent { includeGroup("net.byteflux") } } } dependencies { compileOnly(libs.velocity) annotationProcessor(libs.velocity) compileOnly(libs.miniplaceholders) compileOnly(libs.fastlogin.velocity) implementation(projects.authmevelocityCommon) implementation(projects.authmevelocityApiVelocity) implementation(libs.libby.velocity) implementation(libs.bstats.velocity) } tasks { shadowJar { duplicatesStrategy = DuplicatesStrategy.EXCLUDE archiveFileName.set("AuthMeVelocity-Velocity-${project.version}.jar") archiveClassifier.set("") relocate("org.bstats", "io.github._4drian3d.authmevelocity.libs.bstats") relocate("net.byteflux.libby", "io.github._4drian3d.authmevelocity.libs.libby") relocate("org.spongepowered", "io.github._4drian3d.authmevelocity.libs.sponge") relocate("io.leangen.geantyref", "io.github._4drian3d.authmevelocity.libs.geantyref") } build { dependsOn(shadowJar) } runVelocity { velocityVersion(libs.versions.velocity.get()) } }