Skip to content

Commit

Permalink
Use normal platform
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed May 18, 2024
1 parent 4f361b9 commit 3bd4847
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ task("runSFClientLocal", JavaExec::class) {
}

dependencies {
libs.bundles.bom.get().forEach { api(platform(it)) }

implementation(projects.buildData)
api(projects.proto)
api(projects.common)
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

dependencies {
implementation(enforcedPlatform(libs.netty.bom))
libs.bundles.bom.get().forEach { api(platform(it)) }

implementation(projects.buildData)
api(projects.proto)
Expand Down
2 changes: 2 additions & 0 deletions dedicated/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ task("runSFDedicated", JavaExec::class) {
}

dependencies {
libs.bundles.bom.get().forEach { api(platform(it)) }

implementation(projects.buildData)
api(projects.proto)
api(projects.common)
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ javax-annotations = "javax.annotation:javax.annotation-api:1.3.2"
junit = "org.junit.jupiter:junit-jupiter:5.10.2"

[bundles]
bom = ["netty-bom"]
log4j = ["log4j-api", "log4j-core", "log4j-slf4j2-impl", "log4j-iostreams", "log4j-jul"]
grpc = ["grpc-proto", "grpc-services", "grpc-stub", "grpc-netty", "protobuf-util"]
mixins = ["classtransform-mixinstranslator", "classtransform-mixinsdummy", "classtransform-additionalclassprovider"]
Expand Down
2 changes: 2 additions & 0 deletions proto/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {
}

dependencies {
libs.bundles.bom.get().forEach { api(platform(it)) }

// gRPC
api(libs.bundles.grpc)

Expand Down
2 changes: 2 additions & 0 deletions server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {
}

dependencies {
libs.bundles.bom.get().forEach { api(platform(it)) }

implementation(projects.buildData)
api(projects.proto)
api(projects.common)
Expand Down

0 comments on commit 3bd4847

Please sign in to comment.