/* * This file was generated by the Gradle "init" task. */ plugins { id ("java") id ("maven-publish") id ("signing") } java { withSourcesJar() withJavadocJar() } repositories { mavenLocal() maven { url = uri("https://papermc.io/repo/repository/maven-public/") } maven { url = uri("https://oss.sonatype.org/content/groups/public/") } maven { url = uri("https://repo.maven.apache.org/maven2/") } mavenCentral() } dependencies { compileOnly ("io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT") } group = ("io.github.simplex") version = ("1.0.0") description = ("SimplexCL") java.sourceCompatibility = JavaVersion.VERSION_17 // Because the components are created only during the afterEvaluate phase, you must // configure your publications using the afterEvaluate() lifecycle method. afterEvaluate { publishing { publications { release(MavenPublication) { from components.java groupId = 'io.github.simplexdevelopment' artifactId = 'SimplexCL' version = '1.0.0' pom { signing { sign publishing.publications.release sign configurations.archives } name = 'SimplexCL' description = 'A better alternative to Paper\'s Command Loader' url = 'https://simplexdev.app' licenses { license { name = 'MIT License' url = 'https://opensource.org/licenses/MIT' } } developers { developer { id = 'SimplexDevelopment' name = 'Simplex Development Group' email = 'reillypaul195@gmail.com' } } scm { connection = 'scm:git:git://github.com/SimplexDevelopment/SimplexCL.git' developerConnection = 'scm:git:ssh://github.com/SimplexDevelopment/SimplexCL.git' url = 'https://github.com/SimplexDevelopment/SimplexCL' } } } } repositories { maven { url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") credentials { username = '' password = '' } } } } }