Hey there! Probably a dumb question, but I've neve...
# gradle
t
Hey there! Probably a dumb question, but I've never tried Kotlin's EAPs and I'm having some trouble getting the latest 1.3.70 EAP to work (EAP 184). My buildscript looks like this
Copy code
group = "..."
version = "..."
description = "..."

object DependencyVersions {
    ...  // just a bunch of const strings for versions
}

plugins {
    kotlin("jvm") version "1.3.70-eap-184"  // afaik this block doesn't see DependencyVersions, so versions gotta be put manually here ig...
    application
}

repositories {
    ...  // bunch of repos
    maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
}

dependencies {
    implementation(kotlin("stdlib"))  
    ...  // more deps
}

tasks {
    compileKotlin {
        ...  // I add some compiler args here
    }
}

application {
    mainClassName = "..."
}
with this said, Gradle can't find any kotlin version that satisfies what I've specified
o
plugins
also doesn't see
repositories
you have to add it to the pluginManagement block iirc, check the gradle guide
g
Adding the additional bintray Repo to
buildscript
repositories should do the trick.
t
@gregorbg doesn't seem to work, the error still pops up
o
yea, buildscript is no good for the
plugins
block
t
oh I see
so in the
settings.gradle.kts
file
will try that out
well now everything breaks cus deps don't support the EAP
at least the plugin part work xD