Can not compile after cloning
ssabat opened this issue · 3 comments
HI Metecat team,
I GIT cloned and tried to do a clean build. Latest Gradle is 5.1.1, but build compile error says it uses Gradle 6. Build also fails.
My Gradle output
xyzs-MBP:metacat ssabat$ gradle -v
Gradle 5.1.1
Build time: 2019-01-10 23:05:02 UTC
Revision: 3c9abb645fb83932c44e8610642393ad62116807
Kotlin DSL: 1.1.1
Kotlin: 1.3.11
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 11.0.1 (Oracle Corporation 11.0.1+13)
OS: Mac OS X 10.11.6 x86_64
By build failure message is
Configure project :
Inferred project: metacat, version: 1.2.0-SNAPSHOT
org.ajoberstar.github-pages is deprecated will be removed in gradle-git 2.0.0. Users should migrate to org.ajoberstar.git-publish (https://github.com/ajoberstar/gradle-git-publish).
FAILURE: Build failed with an exception.
-
Where:
Build file '/Users/ssabat/metacat/build.gradle' line: 41 -
What went wrong:
An exception occurred applying plugin request [id: 'org.unbroken-dome.test-sets', version: '1.4.2']
Failed to apply plugin [id 'org.unbroken-dome.test-sets']
Could not create an instance of type org.unbrokendome.gradle.plugins.testsets.internal.DefaultTestSetContainer_Decorated.
> java.lang.StackOverflowError (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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 23s
Build fails for both Java 8 and 11. I am using OpenJDK.
Could you please advise?
Thanks,
Sunil Sabat
Could somebody solve that? I'm running into the same issue.
Could you double check that you're using java 8?
Our travis config is here: https://travis-ci.org/Netflix/metacat/jobs/514531211/config
Also, please do make sure you're using the gradle wrapper to build as indiciated in the README:
./gradlew clean build
We're working on upgrading the gradle version we ship with the wrapper.
Thanks for pointing this out @danielbwatson