You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/11/27 18:11:04 UTC
[groovy] branch master updated: Fix dgm bytecode version as 1.8
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 343ca40 Fix dgm bytecode version as 1.8
343ca40 is described below
commit 343ca40d83ac772e9f137b987cbe79288f1005d7
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Nov 28 02:11:00 2021 +0800
Fix dgm bytecode version as 1.8
---
buildSrc/src/main/groovy/org/apache/groovy/gradle/DgmConverter.groovy | 1 +
1 file changed, 1 insertion(+)
diff --git a/buildSrc/src/main/groovy/org/apache/groovy/gradle/DgmConverter.groovy b/buildSrc/src/main/groovy/org/apache/groovy/gradle/DgmConverter.groovy
index 26da507..a3bc277 100644
--- a/buildSrc/src/main/groovy/org/apache/groovy/gradle/DgmConverter.groovy
+++ b/buildSrc/src/main/groovy/org/apache/groovy/gradle/DgmConverter.groovy
@@ -71,6 +71,7 @@ class DgmConverter extends DefaultTask {
execOperations.javaexec {
it.mainClass.set('org.codehaus.groovy.tools.DgmConverter')
it.classpath = this.classpath
+ it.jvmArgs("-Dgroovy.target.bytecode=1.8")
it.args('--info', outputDirectory.asFile.get().absolutePath)
}
}