F43nd1r / Acrarium

A Backend for ACRA written in Kotlin using Spring Boot, Vaadin and MySQL
Apache License 2.0
203 stars 53 forks source link

Unable to build #542

Open assen-krastev opened 1 month ago

assen-krastev commented 1 month ago

I'm trying to build jar on macOS using openjdk-17.0.12 with:

./gradlew bootJar -x test -Pvaadin.productionMode=true

but I'm getting the following exception:

... Exception in thread "main" java.lang.AbstractMethodError: Receiver class org.jooq.codegen.JavaGenerator$Resolver does not define or inherit an implementation of the resolved method 'abstract java.lang.Object resolveDefinedType(java.util.function.Supplier)' of interface org.jooq.meta.JavaTypeResolver. at org.jooq.meta.AbstractTypedElementDefinition.mapDefinedType(AbstractTypedElementDefinition.java:180) at org.jooq.meta.AbstractTypedElementDefinition.getType(AbstractTypedElementDefinition.java:145) at org.jooq.codegen.JavaGenerator.generateTable(JavaGenerator.java:6176) at org.jooq.codegen.JavaGenerator.generateTable(JavaGenerator.java:6055) at org.jooq.codegen.JavaGenerator.generateTables(JavaGenerator.java:6025) at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:667) at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:622) at org.jooq.codegen.JavaGenerator.generate0(JavaGenerator.java:534) at org.jooq.codegen.AbstractGenerator.generate(AbstractGenerator.java:191) at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:222) at org.jooq.codegen.GenerationTool.run0(GenerationTool.java:944) at org.jooq.codegen.GenerationTool.run(GenerationTool.java:244) at org.jooq.codegen.GenerationTool.generate(GenerationTool.java:239) at org.jooq.codegen.GenerationTool.main(GenerationTool.java:211)

Task :acrarium:generateJooq FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 18s 24 actionable tasks: 21 executed, 3 up-to-date

Are there any prerequisites I am missing?

F43nd1r commented 1 month ago

master doesn't build currently, you can see the same issue in the pipeline. Check out the latest release tag to get a working build for now.