Add Paper version back to manifest, add runShadow, runReobf, and runDev tasks for testing

This commit is contained in:
Jason Penilla 2021-06-11 18:10:12 -07:00
parent a22a0e56ef
commit 9188180d7a
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
2 changed files with 43 additions and 6 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Build system changes
diff --git a/build.gradle.kts b/build.gradle.kts
index b038528ba5ab9790a6bdb1c51ff072f9b8a64bf8..25fa56d26bd88e4647b4c25ad6783ff90a05b2c4 100644
index ccb67fe90e25010f7c8ca168d60d096ef95c4429..f353524ada2caa05824b1e7ded17a1c00473d906 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -20,21 +20,24 @@ repositories {
@@ -22,21 +22,24 @@ repositories {
dependencies {
implementation(project(":Paper-API"))
implementation("jline:jline:2.12.1")
@ -37,7 +37,7 @@ index b038528ba5ab9790a6bdb1c51ff072f9b8a64bf8..25fa56d26bd88e4647b4c25ad6783ff9
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest-library:1.3")
}
@@ -47,7 +50,8 @@ tasks.jar {
@@ -53,7 +56,8 @@ tasks.jar {
"Implementation-Vendor" to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(Date()), // Paper
"Specification-Title" to "Bukkit",
"Specification-Version" to project.version,
@ -47,7 +47,7 @@ index b038528ba5ab9790a6bdb1c51ff072f9b8a64bf8..25fa56d26bd88e4647b4c25ad6783ff9
))
for (tld in listOf("net", "com", "org")) {
attributes(mapOf(
@@ -59,7 +63,7 @@ tasks.jar {
@@ -65,7 +69,7 @@ tasks.jar {
tasks.shadowJar {
listOf(