All A12 projects using UAA may be affected by this. ![]()
We are experiencing Gradle build failures for all supported A12 versions due to a dependency issue.
The root cause is that Spring defines a version range for the json-smart library, which leads to a build failure because the specified version is not available in our artifactories. This will cause the following error message:
FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':server:app:compileJava'.
> Could not resolve all files for configuration ':server:app:compileClasspath'.
> Could not find json-smart-2.3-SNAPSHOT.jar (net.minidev:json-smart:2.3-SNAPSHOT:20170326.024703-1).
Searched in the following locations:
<INTERNAL_LINK>
> Could not find accessors-smart-1.2-SNAPSHOT.jar (net.minidev:accessors-smart:1.2-SNAPSHOT:20170326.024649-2).
Searched in the following locations:
<INTERNAL_LINK> 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.
> Get more help at https://help.gradle.org.
Quick Fix: Delete the ~/.gradle/caches folder in your user directory. This will resolve the issue of loading the incorrect json-smart version.
The UAA team has released 8.1.2 (2024.06-ext3) and 7.5.7 (2023.06-ext10) to fix this by forcing the json-smart version to 2.4.10.
If you have any questions or concerns, feel free to reach out.