whorvath2 opened a new issue, #16175: URL: https://github.com/apache/grails-core/issues/16175
### Expected Behavior We probably shouldn't have to add an explicit dependency on jansi to `build.gradle` for the build to complete after switching from Grails 8-M3 to M5 (though that is a viable workaround for this issue.) ### Actual Behaviour When I switched from M3 to M5, the build broke: ``` ➜ vdeinator git:(trunk) ✗ ./gradlew clean bootRun -Dgrails.env=dev Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details > Configure project : The Project.container(Class, Closure) method has been deprecated. This is scheduled to be removed in Gradle 10. Please use the objects.domainObjectContainer(Class, NamedDomainObjectFactory) method instead. Consult the upgrading guide for further information: https://docs.gradle.org/9.5.1/userguide/upgrading_version_9.html#project_container_methods root project 'vdeinator' The DomainObjectCollection.findAll(Closure) method has been deprecated. This is scheduled to be removed in Gradle 10. Consult the upgrading guide for further information: https://docs.gradle.org/9.5.1/userguide/upgrading_version_9.html#findAll_removal Could not fully resolve CLI companion probe dependencies for project vdeinator; some companion -cli artifacts (and their per-command Gradle tasks) may not be auto-provisioned. Cause: Could not find org.fusesource.jansi:jansi:. Required by: root project 'vdeinator' > Task :clean > Task :compileJava NO-SOURCE > Task :compileGroovy > Task :buildProperties > Task :processResources > Task :classes > Task :findMainClass > Task :bootRun FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':bootRun' (registered by plugin class 'org.springframework.boot.gradle.plugin.SpringBootPlugin'). > Could not resolve all files for configuration ':runtimeClasspath'. > Could not find org.fusesource.jansi:jansi:. Required by: root project 'vdeinator' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights from a Build Scan (powered by Develocity). > Get more help at https://help.gradle.org. BUILD FAILED in 10s 6 actionable tasks: 6 executed ``` ### Steps To Reproduce The dependency report and my build file are attached; hopefully they'll help identify the root cause. [deps.txt](https://github.com/user-attachments/files/31232903/deps.txt) [build.gradle](https://github.com/user-attachments/files/31232990/build.gradle.txt) ### Environment Information MacOS 26.6.2 (25G83) openjdk 25.0.3 2026-04-21 LTS OpenJDK Runtime Environment Corretto-25.0.3.9.1 (build 25.0.3+9-LTS) OpenJDK 64-Bit Server VM Corretto-25.0.3.9.1 (build 25.0.3+9-LTS, mixed mode, sharing) --- _./gradlew --version_ ------------------------------------------------------------ Gradle 9.5.1 ------------------------------------------------------------ Build time: 2026-05-12 13:19:42 UTC Revision: fd78213f09782e62ca4957f9cfd3d90c6c3f1767 Kotlin: 2.3.20 Groovy: 4.0.29 Ant: Apache Ant(TM) version 1.10.15 compiled on August 25 2024 Launcher JVM: 25.0.3 (Amazon.com Inc. 25.0.3+9-LTS) Daemon JVM: /Users/bhorvath/.sdkman/candidates/java/25.0.3-amzn (no Daemon JVM specified, using current Java home) OS: Mac OS X 26.6.2 aarch64 --- _./grailsw --version_ | Grails Version: 8.0.0-M5 | JVM Version: 25.0.3 ### Example Application _No response_ ### Version 8.0.0-M5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
