Upgrade to groovy 4 to allow building on recent JDK (#735)

This commit is contained in:
Guillaume Nodet
2022-11-19 00:18:28 +01:00
committed by GitHub
parent e50eedf018
commit 31612a129e
2 changed files with 21 additions and 18 deletions

View File

@@ -27,9 +27,9 @@
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>2.1.1</version>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>2.1.0</version>
<executions>
<execution>
<phase>validate</phase>
@@ -37,12 +37,22 @@
<goal>execute</goal>
</goals>
<configuration>
<source>
<scripts>
<script><![CDATA[
println 'Hello'
</source>
]]></script>
</scripts>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>4.0.6</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>