Trying to run Dueuno Elements with Grails 7 today ...
# questions
g
Trying to run Dueuno Elements with Grails 7 today I have the following dependencies issue (I didn'd experience it last week), any idea?
Execution failed for task ':buildSrc:compileJava'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
> Could not find jakarta.inject:jakarta.inject-api:.
Required by:
project :buildSrc > org.grails.plugins:hibernate5:9.0.0-SNAPSHOT:20241019.145123-20 > org.grails:grails-datastore-gorm-support:9.0.0-SNAPSHOT:20241018.211210-17 > org.grails:grails-core:7.0.0-SNAPSHOT:20241022.231108-115
> Could not find org.yaml:snakeyaml:.
Required by:
project :buildSrc > org.grails.plugins:hibernate5:9.0.0-SNAPSHOT:20241019.145123-20 > org.grails:grails-datastore-gorm-support:9.0.0-SNAPSHOT:20241018.211210-17 > org.grails:grails-bootstrap:7.0.0-SNAPSHOT:20241022.231108-115
Possible solution:
- Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html>
j
You may want to explore https://github.com/grails/grails-forge/issues/406 which will be implemented soon. With the recent grails-bom changes, the following needs to be added to buildSrc/build.gradle. One of the downsides of buildSrc is independent version resolutions from the main build.gradle file.
Copy code
implementation platform("org.grails:grails-bom:7.0.0-SNAPSHOT")
👍 1
g
It worked, thank you @James Fredley