sourcerer-io / sourcerer-app

🦄 Sourcerer app makes a visual profile from your GitHub and git repositories.
https://sourcerer.io/start
MIT License
6.73k stars 281 forks source link

Unable to build "sourcerer-app.jar" on macOS. #559

Closed hoony9x closed 4 years ago

hoony9x commented 4 years ago

This is what happened.

$ gradle build

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/khhan1993/Desktop/sourcerer-app/build.gradle' line: 22

* What went wrong:
A problem occurred evaluating root project 'sourcerer-app'.
> Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

* 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 506ms

Java version

openjdk version "1.8.0_222"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
yogeshwar607 commented 4 years ago

same issue , seems like issue with new gradle version 6.0.1 , was working well with gradle version 5.6.2

Screenshot 2019-11-21 at 12 39 16 AM
scheidtp commented 4 years ago

Updating the Kotlin version referenced in the Gradle build file to 1.3.61 and keeping the version of org.jetbrains.kotlin:kotlin-stdlib-jre8 at 1.2.31 solves this issue.

Franceshe commented 4 years ago

in short for Mac users: brew update brew install kotlin