im trying to use kotlin gradle dsl, with 1.3.0-rc1...
# announcements
h
im trying to use kotlin gradle dsl, with 1.3.0-rc146, and im getting this issue when i try setting up the gradle project… aparently:
Caused by: org.gradle.internal.resolve.ArtifactResolveException: Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlinkotlin compiler embeddable1.3-M2)
r
Why would you use M2? It's a very old version. I use Gradle 5.0-M1 with Kotlin
1.3.0-rc-116
and that works for kotlin-dsl.
h
That's completely away from the issue at hand I've tried all eap versions for 1.3 and none have worked
r
Well that's not, because kotlin-dsl is made by Gradle and not Jetbrains, it's included in your Gradle build.
Gradle Kotlin DSL 1.0 RC12 is included in Gradle 5.0-M1
And it's using Kotlin RC2 internaly (
1.3.0-rc-116
)
Next, make sure you have the EAP repository defined everywhere it's needed
Copy code
maven(url = "<https://dl.bintray.com/kotlin/kotlin-eap/>")
h
The rc116 was what I had initially. My friend has the exact same file, and it's working no issues. I tried other rcs and mc2
None worked
You can see the repo link is fine too
r
Well you then know that it does not come from the version, why change it?
You also still didn't show any log
h
How can I do So?
i think this contains relevant information
r
You're using Gradle 4.8.
h
im not sure how to fix the issue
i tried deleting the gradle wrapper files and doing
gradle wrapper
and now it isn’t creating them
can anyone help me out? i still am in need of assistance and I am very lost
m
If your friend has no issues with the same project, is related to your machine. Delete your gradle cache, restart the machine to make sure all gradle-related things stop, and try again
by command line if possible
n
#C19FD9681