From 05a20f35c328a0ac49b06bf15c2e9e86cff2e309 Mon Sep 17 00:00:00 2001 From: Mabel <70232089+mabelbot@users.noreply.github.com> Date: Tue, 28 Feb 2023 14:54:51 -0800 Subject: [PATCH] Refactor mantis-common by removing ext variable refactor mantis-common build.gradle by moving ext versions to root build.gradle and removing ext variable (issue #345) --- build.gradle | 3 +++ mantis-common/build.gradle | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 28fb5c872..4e9a11b60 100644 --- a/build.gradle +++ b/build.gradle @@ -37,10 +37,13 @@ buildscript { ext.versions = [ flink : "1.14.2", hadoop : "2.7.7", + jctoolsVersion : "1.+", junit4 : "4.11", junit5 : "5.4.+", mockito : "2.0.+", mockito3 : "3.+", + nettyVersion : "4.1.34.Final", + snappyVersion : "1.1.+", spectator: "1.3.+", slf4j : "1.7.0", vavr : "0.9.2", diff --git a/mantis-common/build.gradle b/mantis-common/build.gradle index 6b8d2e5ef..0389c7d9c 100644 --- a/mantis-common/build.gradle +++ b/mantis-common/build.gradle @@ -16,12 +16,6 @@ apply plugin: 'java-test-fixtures' -ext { - jctoolsVersion = '1.+' - nettyVersion = '4.1.17.Final' - snappyVersion = '1.1.+' -} - dependencies { api project(":mantis-common-serde") api libraries.nettyCodec