Our Spring app that uses Kotlin/Gradle 6.0.1 started failing a few days ago, previous build that were successful are also failing.
Failing at gradle dependencies step with
#!/bin/bash -eo pipefail gradle dependencies Welcome to Gradle 6.0.1! Here are the highlights of this release: - Substantial improvements in dependency management, including - Publishing Gradle Module Metadata in addition to pom.xml - Advanced control of transitive versions - Support for optional features and dependencies - Rules to tweak published metadata - Support for Java 13 - Faster incremental Java and Groovy compilation - New Zinc compiler for Scala - VS2019 support - Support for Gradle Enterprise plugin 3.0 For more details see https://docs.gradle.org/6.0.1/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) FAILURE: Build failed with an exception. * Where: Build file '/home/circleci/repo/build.gradle' line: 22 * What went wrong: A problem occurred evaluating root project 'repo'. > java.lang.ExceptionInInitializerError (no error message) * 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 BUILD FAILED in 11s Exited with code 1
Line 22 of the gradle config is:
apply plugin: 'kotlin'
Only seems to happen on CircleCI, local builds work fine.