Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail: Gradle 5.2.1 - Java 8 - Kotlin DSL #14

Closed
axyiee opened this issue Apr 1, 2020 · 0 comments
Closed

Fail: Gradle 5.2.1 - Java 8 - Kotlin DSL #14

axyiee opened this issue Apr 1, 2020 · 0 comments

Comments

@axyiee
Copy link

axyiee commented Apr 1, 2020

Why is my build failing?

> Configure project :
Compiling Discord4K version "1.0.0-SNAPSHOT"
Compiling subproject 'd4k-api'...
Compiling subproject 'd4k-sdk'...
Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in root project 'Discord4K'.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':compileKotlin'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.71 because no repositories are defined.
     Required by:
         project :

* 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 51s
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: actions/setup-java@v1
      with:
        java-version: 8
    - uses: eskatos/gradle-command-action@v1
      with:
        arguments: build

build.gradle.kts

@axyiee axyiee closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant