plugins { java } repositories { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") maven("https://repo.velocitypowered.com/snapshots/") } dependencies { compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT") annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT") implementation("com.google.code.gson:gson:2.10.1") testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0") testImplementation("org.junit.jupiter:junit-jupiter-engine:5.10.0") testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.10.0") } tasks.jar { archiveFileName.set("LoVelocity-1.5.5.jar") from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) }) duplicatesStrategy = DuplicatesStrategy.EXCLUDE }