packets: Move factories into :packets module

This commit is contained in:
Oliver
2025-05-19 20:24:03 +02:00
parent 1ac9e0915f
commit ceb8aafa98
22 changed files with 13 additions and 38 deletions

View File

@@ -21,7 +21,6 @@ dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT")
implementation(project(":libraries:packets:packets-api"))
implementation(project(":libraries:packets:factories"))
implementation(project(":libraries:packets:implementations:1_21_5"))
implementation(project(":libraries:packets:implementations:1_21_4"))
implementation(project(":libraries:packets:implementations:1_21_3"))

View File

@@ -1,29 +0,0 @@
plugins {
id("java-library")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
compileOnly(project(":libraries:packets:implementations:1_20_6"))
compileOnly(project(":libraries:packets:implementations:1_21_3"))
compileOnly(project(":libraries:packets:implementations:1_21_4"))
compileOnly(project(":libraries:packets:implementations:1_21_5"))
}
tasks {
java {
withSourcesJar()
withJavadocJar()
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release = 21
}
}

View File

@@ -11,6 +11,7 @@ dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.2")

View File

@@ -11,6 +11,7 @@ dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets:implementations:1_20_6"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")

View File

@@ -11,6 +11,7 @@ dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets:implementations:1_20_6"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")

View File

@@ -11,6 +11,7 @@ dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.2")

View File

@@ -11,6 +11,7 @@ dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.2")

View File

@@ -9,6 +9,7 @@ dependencies {
paperweight.paperDevBundle("1.21.5-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.2")

View File

@@ -19,8 +19,8 @@ repositories {
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT")
implementation(project(":libraries:packets"))
implementation(project(":libraries:packets:packets-api"))
implementation(project(":libraries:packets:factories"))
implementation(project(":libraries:packets:implementations:1_20_6"))
implementation(project(":libraries:packets:implementations:1_21_3"))
implementation("de.oliver.FancyAnalytics:logger:0.0.6")