Skip to content

Commit

Permalink
even more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jul 18, 2024
1 parent 44e2835 commit 1c8a445
Show file tree
Hide file tree
Showing 3 changed files with 474 additions and 374 deletions.
6 changes: 6 additions & 0 deletions Blueberry-API/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ tasks {
remapJar {
enabled = false
}

jar {
// restore default configuration
destinationDirectory.set(destinationDirectory.get().asFile.parentFile.resolve("libs"))
archiveClassifier.set("")
}
}
18 changes: 15 additions & 3 deletions MagmaCube-Patches/0003-Add-build.gradle.kts.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Subject: [PATCH] Add build.gradle.kts


diff --git a/build.gradle.kts b/build.gradle.kts
index 44b4e8cea7d59c5fd3431576a3a5233c33856422..7e04d252b5d40968d4702c6f0e8d281613d7adc2 100644
index 44b4e8cea7d59c5fd3431576a3a5233c33856422..dab96c7a9768e93394ff7d338f34b882b4895d43 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,12 +1,13 @@
Expand All @@ -24,15 +24,27 @@ index 44b4e8cea7d59c5fd3431576a3a5233c33856422..7e04d252b5d40968d4702c6f0e8d2816

java.toolchain.languageVersion.set(JavaLanguageVersion.of(21))

@@ -14,6 +15,7 @@ repositories {
@@ -14,6 +15,8 @@ repositories {
}

dependencies {
+ api(kotlin("stdlib"))
+ api(project(":blueberry-api"))
// To change the versions see the gradle.properties file
minecraft("com.mojang:minecraft:${project.properties["minecraft_version"]}")
mappings(loom.officialMojangMappings())
@@ -56,4 +58,182 @@ tasks {
@@ -25,6 +28,10 @@ java {
}

tasks {
+ remapJar {
+ enabled = false
+ }
+
register("unzipSourcesJar") {
doLast {
configurations.runtimeClasspath.get().resolve().forEach { dependency ->
@@ -56,4 +63,182 @@ tasks {
}
}
}
Expand Down
Loading

0 comments on commit 1c8a445

Please sign in to comment.