diff --git a/build.gradle b/build.gradle index 1461a6d005..1ad956bd92 100644 --- a/build.gradle +++ b/build.gradle @@ -122,6 +122,7 @@ buildscript { ext.detekt_version = constants.getProperty('detektVersion') ext.docker_java_version = constants.getProperty("dockerJavaVersion") ext.commons_configuration2_version = constants.getProperty("commonsConfiguration2Version") + ext.commons_text_version = constants.getProperty("commonsTextVersion") if (JavaVersion.current().isJava8()) { ext.fontawesomefx_commons_version = constants.getProperty("fontawesomefxCommonsJava8Version") ext.fontawesomefx_fontawesome_version = constants.getProperty("fontawesomefxFontawesomeJava8Version") @@ -455,8 +456,12 @@ allprojects { } } - if (details.requested.group == 'org.apache.commons' && details.requested.name == "commons-configuration2") { - details.useVersion commons_configuration2_version + if (details.requested.group == 'org.apache.commons') { + if (details.requested.name == "commons-configuration2") { + details.useVersion commons_configuration2_version + } else if (details.requested.name == "commons-text") { + details.useVersion commons_text_version + } } } diff --git a/constants.properties b/constants.properties index bfc3044c0d..eee0ada384 100644 --- a/constants.properties +++ b/constants.properties @@ -39,6 +39,7 @@ jolokiaAgentVersion=1.6.1 detektVersion=1.0.1 tcnativeVersion=2.0.48.Final commonsConfiguration2Version=2.8.0 +commonsTextVersion=1.10.0 # ENT-6607 all third party version in here now @@ -83,7 +84,7 @@ eddsaVersion=0.3.0 dependencyCheckerVersion=5.2.0 commonsCollectionsVersion=4.3 beanutilsVersion=1.9.4 -shiroVersion=1.9.1 +shiroVersion=1.10.0 hikariVersion=3.3.1 liquibaseVersion=3.6.3 dockerComposeRuleVersion=1.5.0