From 0e06737272f9b297545e5b28cbd6679534811c1d Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Tue, 10 Oct 2023 05:06:59 -0400 Subject: [PATCH] move javalinVersion to a global version (#942) --- build.gradle | 1 + photon-core/build.gradle | 2 +- photon-server/build.gradle | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0a6e4c10a2..cbe84c5549 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,7 @@ ext { wpilibVersion = "2023.4.2" opencvVersion = "4.6.0-4" joglVersion = "2.4.0-rc-20200307" + javalinVersion = "5.6.2" pubVersion = versionString isDev = pubVersion.startsWith("dev") diff --git a/photon-core/build.gradle b/photon-core/build.gradle index feaa5b0c74..dc805fff55 100644 --- a/photon-core/build.gradle +++ b/photon-core/build.gradle @@ -9,7 +9,7 @@ apply from: "${rootDir}/shared/common.gradle" dependencies { implementation project(':photon-targeting') - implementation 'io.javalin:javalin:4.2.0' + implementation "io.javalin:javalin:$javalinVersion" implementation 'org.msgpack:msgpack-core:0.9.0' implementation 'org.msgpack:jackson-dataformat-msgpack:0.9.0' diff --git a/photon-server/build.gradle b/photon-server/build.gradle index 6b1a5bf5ec..a37e4f3ea0 100644 --- a/photon-server/build.gradle +++ b/photon-server/build.gradle @@ -34,7 +34,7 @@ dependencies { implementation project(':photon-core') implementation project(':photon-targeting') - implementation "io.javalin:javalin:5.6.2" + implementation "io.javalin:javalin:$javalinVersion" implementation wpilibTools.deps.wpilibJava("wpiutil") implementation wpilibTools.deps.wpilibJava("wpimath")