Closed TheFox closed 1 month ago
Same issue here, seems like it wants to resolve to jcenter according to: https://mvnrepository.com/artifact/com.github.vmg.protogen/protogen-annotations/1.0.0
https://blog.gradle.org/jcenter-shutdown says it no longer exists?
yep, I think this is due to a similar issue reported at https://github.com/Netflix/conductor/issues/2446. Let me patch it quickly.
Should be patched. Can you pull the repo and build it again?
@TheFox @Korg95 ^^^
Will do! Thanks for the quick MR
2 failed tests, trying to run the app anyhow
@jun-he Works! Able to run through readme sample workflow.
@Korg95 can you share some additional info, e.g. what's your java version and gradle version, etc.?
@Korg95 can you share some additional info, e.g. what's your java version and gradle version, etc.?
Java
openjdk 21.0.3 2024-04-16 LTS
OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)
Gradle
------------------------------------------------------------
Gradle 8.8
------------------------------------------------------------
Build time: 2024-05-31 21:46:56 UTC
Revision: 4bd1b3d3fc3f31db5a26eecb416a165b8cc36082
Kotlin: 1.9.22
Groovy: 3.0.21
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 21.0.3 (Eclipse Adoptium 21.0.3+9-LTS)
OS: Windows 11 10.0 amd64
Thanks, looks like there are some extra empty spaces causing test failures. Let me improve the tests to be more robust.
I am now getting a different error message:
maestro$ ./gradlew build
FAILURE: Build failed with an exception.
* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
> Unsupported class file major version 66
Gradle infos:
maestro$ gradle --version
------------------------------------------------------------
Gradle 8.9
------------------------------------------------------------
Build time: 2024-07-11 14:37:41 UTC
Revision: d536ef36a19186ccc596d8817123e5445f30fef8
Kotlin: 1.9.23
Groovy: 3.0.21
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
Launcher JVM: 22.0.2 (Homebrew 22.0.2)
Daemon JVM: /usr/local/Cellar/openjdk/22.0.2/libexec/openjdk.jdk/Contents/Home (no JDK specified, using current Java home)
OS: Mac OS X 14.2.1 x86_64
@TheFox I think major version 66 is java 22. Can you try Java 21 as maestro is on Java 21?
@jun-he I can try, but I first have to find out how to use multiple different Java versions, or downgrade to Java 21. Thanks for the fast support.
@TheFox you might try https://sdkman.io/. Additionally, I will also take a look why java 22 build is failed.
@Korg95 FYI, it might be related to newline in windows. Can you pull and try it again? Thanks.
@TheFox It's because Maestro is still using gradle-8.7, which is incompatible with Java 22 (https://docs.gradle.org/current/userguide/compatibility.html). Let me see if we can bump up the gradlew version.
@TheFox Just FYI, I have bumped up the gradlew version to 8.8. Please try ./gradlew build
again. But it might not work if you don't have Java 21.
@TheFox @Korg95 ping to see if your build issues were resolved? If yes, I will close the issue.
I was not able to install Java 21, yet.
Ping again to see if there is still any issue?
Close the issue for now. We can open a new one if there is an additional issue.
I get this error when I want to build it: