That did it, thanks a lot !
I did run into an OutOfMemory error during my first invocation of
"gradlew publishToMavenLocal" though and bumped the memory settings for
good measure (I have 32 GB of RAM):
diff --git a/gradle.properties b/gradle.properties
index 355644b4a6..c2dd78b7b3 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -36,7 +36,7 @@ javaDoc_mx=1g
# adjust if needed for different jdk versions
#org.gradle.jvmargs=-ea -Xmx1500m
-org.gradle.jvmargs=-Xms800m -Xmx2g -XX:MaxMetaspaceSize=512m -XX:+UseG1GC
+org.gradle.jvmargs=-Xms800m -Xmx4g -XX:MaxMetaspaceSize=1g -XX:+UseG1GC
# enable the Gradle build cache
org.gradle.caching=true
A second gradle invocation worked without any issues. I then did revert
my memory setting changes and tried again and now it also worked
*without* bumping the settings ... so one might need to do a "gradlew
very-clean" (or whatever the equivalent to "mvn clean" is in a Gradle
build) to reproduce this. Btw, this was on OpenJDK 64-Bit Server VM
Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
We only upgraded to 8.1.1 a few days ago and not all tasks have been
tested yet. On the version you have, you should be able to build an
installation with "distBin" or "installGroovy".
I just fixed "publishToMavenLocal", so update and you should be good
to go to get the SNAPSHOT artifacts.
Groovy 4.0.12 should run fine with JDK 21ea. From your stack trace, it
looks like an older version of ASM or Groovy is on your classpath.
Cheers, Paul.
On Fri, Jun 16, 2023 at 12:07 AM Tobias Gierke
<tobias.gie...@voipfuture.com> wrote:
Unfortunately not. I've purged all groovy artifacts from my local
Maven
repo via "find ~/.m2 -name *groovy* -exec rm -rf {} \;" and tried
both
commands, checking ~/.m2/repository after each of them
"gradlew install" - no files placed into ~/.m2/repository
"gradlew publish" - fails with the same error I mentioned in my
previous
mail
>> how [t]o do this ... "gradlew publishToMavenLocal"
> Does "gradlew install" or "gradlew publish" put the snapshot
artifacts in your local maven repository?
--
Tobias Gierke
Software Developer
Voipfuture GmbH Wendenstr. 4 20097 Hamburg Germany
Phone +49 40 688 9001 64 Fax +49 40 688 9001 99
Managing Directors Jan Bastian Eyal Ullert
Commercial Court AG Hamburg HRB 109896 VAT ID DE263738086
--
Tobias Gierke
Software Developer
Voipfuture GmbH Wendenstr. 4 20097 Hamburg Germany
Phone +49 40 688 9001 64 Fax +49 40 688 9001 99
Managing Directors Jan Bastian Eyal Ullert
Commercial Court AG Hamburg HRB 109896 VAT ID DE263738086