Skip to content

Commit

Permalink
Merge pull request #5244 from kwvanderlinde/refactor/5214-version-cat…
Browse files Browse the repository at this point in the history
…alogue--missed-commit

Consolidate scattered protobuf versions
  • Loading branch information
cwisniew authored Feb 14, 2025
2 parents f4fc811 + 8dea93a commit 229861f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
}
}

// Access Git info from build script
Expand Down Expand Up @@ -134,7 +131,9 @@ javafx {
}

protobuf {
protoc { artifact = "com.google.protobuf:protoc:4.29.1" }
protoc {
artifact = libs.protobuf.protoc.get()
}
}

// Inform IDEs like IntelliJ IDEA, Eclipse or NetBeans about the generated code.
Expand Down Expand Up @@ -366,7 +365,7 @@ dependencies {
implementation(libs.upnplib)
implementation(libs.okhttp)
implementation(libs.protobuf.grpc)
implementation(libs.protobuf.java.util)
implementation(libs.protobuf.java)

implementation(libs.bundles.imageio)
implementation(libs.batik)
Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ handlebars = "4.4.0"
jai-imageio = "1.4.0"
graalvm-js = "21.2.0"
pdfbox = "3.0.0"
protoc = "4.29.1"

[libraries]
findbugs-jsr305 = { group = "com.google.code.findbugs", name = "jsr305", version = "3.0.2" }
Expand All @@ -33,7 +34,8 @@ apache-commons-compress = { group = "org.apache.commons", name = "
zstd = { group = "com.github.luben", name = "zstd-jni", version = "1.5.5-11" }
# Protobuf
protobuf-grpc = { group = "io.grpc", name = "grpc-protobuf", version = "1.61.1" }
protobuf-java-util = { group = "com.google.protobuf", name = "protobuf-java-util", version = "4.29.1" }
protobuf-java = { group = "com.google.protobuf", name = "protobuf-java-util", version.ref = "protoc" }
protobuf-protoc = { group = "com.google.protobuf", name = "protoc", version.ref = "protoc" }
# find running instances in LAN
servicediscovery = { group = "net.tsc.servicediscovery", name = "servicediscovery", version = "1.0.b5" }
# UPNP. Maybe replace with jupnp
Expand Down

0 comments on commit 229861f

Please sign in to comment.