SimplexCL/build.gradle

91 lines
2.6 KiB
Groovy
Raw Normal View History

/*
2022-02-10 05:12:30 +00:00
* This file was generated by the Gradle "init" task.
*/
plugins {
2022-02-10 05:12:30 +00:00
id ("java")
id ("maven-publish")
id ("signing")
}
2022-02-10 05:12:30 +00:00
java {
withSourcesJar()
withJavadocJar()
}
repositories {
mavenLocal()
maven {
2022-02-10 05:12:30 +00:00
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
2022-02-10 05:12:30 +00:00
url = uri("https://oss.sonatype.org/content/groups/public/")
}
maven {
2022-02-10 05:12:30 +00:00
url = uri("https://repo.maven.apache.org/maven2/")
}
mavenCentral()
}
dependencies {
2022-02-10 05:12:30 +00:00
compileOnly ("io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT")
}
2022-02-10 05:12:30 +00:00
group = ("io.github.simplex")
version = ("1.0.0")
description = ("SimplexCL")
java.sourceCompatibility = JavaVersion.VERSION_17
2022-02-10 05:12:30 +00:00
// 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 = ''
}
}
}
}
}