plugins { id 'java' id 'maven-publish' } group 'net.william278' version '1.0' repositories { mavenCentral() mavenLocal() maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' } } dependencies { compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT' compileOnly 'org.jetbrains:annotations:23.0.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2' } publishing { publications { gpr(MavenPublication) { from(components.java) } } } test { useJUnitPlatform() }