From dbaf081daa477af222f8078e0b8a0b9ac535e296 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Thu, 29 Dec 2022 21:59:12 +0100 Subject: [PATCH] [groovyscripting] Update Groovy to 4.0.7 (#14115) Updates Groovy from 3.0.13 to 4.0.7. For Groovy 4.0 release notes, see: https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes Signed-off-by: Wouter Born --- .../org.openhab.automation.groovyscripting/README.md | 2 +- .../org.openhab.automation.groovyscripting/pom.xml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.automation.groovyscripting/README.md b/bundles/org.openhab.automation.groovyscripting/README.md index 997a01beff61e..50348251f80ec 100644 --- a/bundles/org.openhab.automation.groovyscripting/README.md +++ b/bundles/org.openhab.automation.groovyscripting/README.md @@ -1,6 +1,6 @@ # Groovy Scripting -This add-on provides support for [Groovy](https://groovy-lang.org/) 3.0.13 that can be used as a scripting language within automation rules and which eliminates the need to manually install Groovy. +This add-on provides support for [Groovy](https://groovy-lang.org/) 4.0.7 that can be used as a scripting language within automation rules and which eliminates the need to manually install Groovy. ## Creating Groovy Scripts diff --git a/bundles/org.openhab.automation.groovyscripting/pom.xml b/bundles/org.openhab.automation.groovyscripting/pom.xml index 81a221365834f..86c995c76f05d 100644 --- a/bundles/org.openhab.automation.groovyscripting/pom.xml +++ b/bundles/org.openhab.automation.groovyscripting/pom.xml @@ -16,22 +16,28 @@ com.ibm.icu.*;resolution:=optional,groovy.runtime.metaclass;resolution:=optional,groovyjarjarantlr4.stringtemplate;resolution:=optional,org.abego.treelayout.*;resolution:=optional,org.apache.ivy.*;resolution:=optional,org.stringtemplate.v4.*;resolution:=optional - 3.0.13 + 4.0.7 - org.codehaus.groovy + org.apache.groovy groovy ${groovy.version} compile - org.codehaus.groovy + org.apache.groovy groovy-jsr223 ${groovy.version} compile + + org.apache.groovy + groovy-xml + ${groovy.version} + compile +