plugins { id("java") id("com.gradleup.shadow") version "9.0.0-beta2" } repositories { mavenCentral() maven("https://papermc.io/repo/repository/maven-public/") } dependencies { compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") annotationProcessor("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") implementation("redis.clients:jedis:5.2.0") testImplementation("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") testImplementation("org.junit.jupiter:junit-jupiter:5.11.4") testImplementation("org.slf4j:slf4j-api:2.0.16") testRuntimeOnly("org.slf4j:slf4j-simple:2.0.16") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType { useJUnitPlatform() } tasks { shadowJar { archiveBaseName.set("rampart-velocity") archiveClassifier.set("") archiveVersion.set(project.property("version").toString()) } build { dependsOn(shadowJar) } }