Skip to content

Commit

Permalink
Put a lot more stuff into API
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Mar 11, 2024
1 parent cf6ef14 commit d733f9c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

dependencies {
implementation(projects.buildData)
implementation(projects.proto)
api(projects.proto)

// Log/Console libraries
api(libs.bundles.log4j)
Expand Down Expand Up @@ -37,7 +37,7 @@ dependencies {
api(libs.lambdaevents)

// For detecting the dir to put data in
implementation(libs.appdirs)
api(libs.appdirs)

// For class injection
api(libs.injector)
Expand Down
2 changes: 1 addition & 1 deletion data-generator/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("sf-java-conventions")
`sf-java-conventions`
alias(libs.plugins.loom)
}

Expand Down
22 changes: 11 additions & 11 deletions server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@ plugins {

dependencies {
implementation(projects.buildData)
implementation(projects.proto)
implementation(projects.common)
api(projects.proto)
api(projects.common)

// Main protocol library
api(libs.mcprotocollib)
api(libs.bundles.kyori)

// For advanced encryption and compression
implementation(libs.velocity.native)
api(libs.velocity.native)

// Netty raknet support for ViaBedrock
implementation(libs.netty.raknet) {
api(libs.netty.raknet) {
isTransitive = false
}

// For supporting multiple Minecraft versions
implementation(libs.via.version) { isTransitive = false }
implementation(libs.via.backwards) { isTransitive = false }
implementation(libs.via.rewind)
implementation(libs.via.legacy)
implementation(libs.via.aprilfools)
implementation(libs.via.loader) {
api(libs.via.version) { isTransitive = false }
api(libs.via.backwards) { isTransitive = false }
api(libs.via.rewind)
api(libs.via.legacy)
api(libs.via.aprilfools)
api(libs.via.loader) {
exclude("org.slf4j", "slf4j-api")
exclude("org.yaml", "snakeyaml")
}

// For Bedrock support
implementation(libs.via.bedrock) {
api(libs.via.bedrock) {
exclude("io.netty", "netty-codec-http")
}

Expand Down

0 comments on commit d733f9c

Please sign in to comment.