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