Hey, Im trying to get my PR to build on CI: <https...
# koin-contributors
g
Hey, Im trying to get my PR to build on CI: https://github.com/InsertKoinIO/koin/pull/1765 But getting some problems there. On my own machine, I cannot build the project out of the box (Java programs & AS requesting me to upgrade the gradle version). Has the project been build on M1 machines & if so, what's the recommended java version?
Error fwif
Copy code
gijsvanveen@Gijss-MBP-2 core % sh test.sh
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at <https://docs.gradle.org/7.4.2/userguide/gradle_daemon.html>
Process command line: /Library/Java/JavaVirtualMachines/temurin-19.jdk/Contents/Home/bin/java -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx3072m -Dfile.encoding=UTF-8 -Duser.country=NL -Duser.language=en -Duser.variant -cp /Users/gijsvanveen/.gradle/wrapper/dists/gradle-7.4.2-all/9uukhhbclvbegdvsww0j0cr3p/gradle-7.4.2/lib/gradle-launcher-7.4.2.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.4.2
Please read the following process output to find out more:
-----------------------
Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
a
remove the
MaxPermSize=512m
arg
I will push back a "more working" environment on main and 3.6 branches 👍 🚑
g
Managed to get it to sync by downgrading my jvm to 11 (which gave me problems due to stately-concurrency being built on newer java). But seemed to work after I reverted back to my own default JRE. Hard to tell if CI will get fixed considering I cannot trigger it myself
a
argh, yes still have some macOs failing time to time