]> git.basschouten.com Git - openhab-addons.git/commit
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
authorWouter Born <github@maindrain.net>
Sat, 11 Mar 2023 20:15:06 +0000 (21:15 +0100)
committerGitHub <noreply@github.com>
Sat, 11 Mar 2023 20:15:06 +0000 (21:15 +0100)
commit59b3ed33dfaa5bc8d7c585c896a29b12815cdd99
treec9d6c79522fd8145fb304179d5d8bafee05c8987
parentac7993d329313f56cf567d976a2190881bbbfea0
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)

Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.automation.groovyscripting/README.md
bundles/org.openhab.automation.groovyscripting/pom.xml
bundles/org.openhab.automation.groovyscripting/src/main/java/org/openhab/automation/groovyscripting/internal/GroovyScriptEngineFactory.java
itests/org.openhab.automation.groovyscripting.tests/NOTICE [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/itest.bndrun [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/pom.xml [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/src/main/java/org/openhab/automation/groovyscripting/SlurperOSGiTest.java [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/src/main/resources/OH-INF/automation/jsr223/json-slurper.groovy [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/src/main/resources/OH-INF/automation/jsr223/xml-slurper.groovy [new file with mode: 0644]
itests/org.openhab.automation.groovyscripting.tests/src/main/resources/OH-INF/automation/jsr223/yaml-slurper.groovy [new file with mode: 0644]
itests/pom.xml