few fixes to make it actually run

This commit is contained in:
MiniDigger 2021-06-12 02:22:53 +02:00
parent 7ea73d48d4
commit a22a0e56ef
4 changed files with 28 additions and 12 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Build system changes
diff --git a/build.gradle.kts b/build.gradle.kts
index fddf2f440356425d948f40dcf9d9853a374ddc8e..32fee49011b630407d6fd1c66838a833a706741a 100644
index b038528ba5ab9790a6bdb1c51ff072f9b8a64bf8..25fa56d26bd88e4647b4c25ad6783ff90a05b2c4 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -15,21 +15,24 @@ repositories {
@@ -20,21 +20,24 @@ repositories {
dependencies {
implementation(project(":Paper-API"))
implementation("jline:jline:2.12.1")
@ -37,8 +37,8 @@ index fddf2f440356425d948f40dcf9d9853a374ddc8e..32fee49011b630407d6fd1c66838a833
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest-library:1.3")
}
@@ -42,7 +45,8 @@ tasks.jar {
"Implementation-Vendor" to Instant.now().epochSecond,
@@ -47,7 +50,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,
- "Specification-Vendor" to "Bukkit Team"
@ -47,7 +47,7 @@ index fddf2f440356425d948f40dcf9d9853a374ddc8e..32fee49011b630407d6fd1c66838a833
))
for (tld in listOf("net", "com", "org")) {
attributes(mapOf(
@@ -54,7 +58,7 @@ tasks.jar {
@@ -59,7 +63,7 @@ tasks.jar {
tasks.shadowJar {
listOf(