Skip to content

Commit

Permalink
Dropped 1.20.6 support and made modern commons module for 1.21+
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Jun 22, 2024
1 parent e2a6d6d commit 9b47e47
Show file tree
Hide file tree
Showing 96 changed files with 440 additions and 1,579 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies {
implementation(project(path = ":eco-core:core-nms:v1_20_R1", configuration = "reobf"))
implementation(project(path = ":eco-core:core-nms:v1_20_R2", configuration = "reobf"))
implementation(project(path = ":eco-core:core-nms:v1_20_R3", configuration = "reobf"))
implementation(project(path = ":eco-core:core-nms:v1_20_6", configuration = "reobf"))
implementation(project(path = ":eco-core:core-nms:v1_21", configuration = "reobf"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public final class ProxyConstants {
"v1_20_R1",
"v1_20_R2",
"v1_20_R3",
"v1_20_6",
"v1_21"
);

Expand Down
File renamed without changes.
23 changes: 23 additions & 0 deletions eco-core/core-nms/modern/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins {
id("io.papermc.paperweight.userdev")
}

group = "com.willfp"
version = rootProject.version

dependencies {
compileOnly(project(":eco-core:core-nms:common"))
paperweight.paperDevBundle("1.21-R0.1-SNAPSHOT")
}

tasks {
compileJava {
options.release = 21
}

compileKotlin {
kotlinOptions {
jvmTarget = "21"
}
}
}
Loading

0 comments on commit 9b47e47

Please sign in to comment.