plugins { id 'maven-publish' } version = '0.1-SNAPSHOT' dependencies { compileOnly 'org.checkerframework:checker-qual:3.8.0' compileOnly 'org.jetbrains:annotations:20.1.0' } publishing { //repositories { // maven { // url = 'https://oss.sonatype.org/content/repositories/snapshots' // credentials { // username = sonatypeUsername // password = sonatypePassword // } // } //} publications { mavenJava(MavenPublication) { from components.java pom { name = 'spark' description = 'spark is a performance profiling plugin/mod for Minecraft clients, servers and proxies.' url = 'https://spark.lucko.me/' } } } }