Anyone know how to pull in a dev build with gradle...
# eap
s
Anyone know how to pull in a dev build with gradle?
r
It’s similar to pulling in eap but you use
kotlin-dev
bintray link instead of
kotlin-eap
n
do not forget ot also use the dev repo for the gradle plugin
s
great, thanks
@Nikky what is the dev repo for the gradle plugin?
org.jetbrains.kotlin:kotlin-gradle-plugin-dev
?
n
no i mean you need to use the maven repo for the plugin and use a version like
1.3.60-dev-2244
(imaginary build number)
s
oh i see
cool
n
easiest is to use a buildscript block i think
or pluginsmanagement in settings.gradle.kts
BUT i think in the dev repo there is no gradle plugin markers
so the buildscript block worked better for me, sadly i have no copypaste example ready because its on my work computer, but i did this a few days ago to verify that a specific bug is really fixed
s
Hmm well question for you then
I should do
1.3.60-dev-2348
right?
n
yes
s
it didn’t find it sadly
Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60-dev-2348.
n
Copy code
buildscript {
    ext.kotlin_version = '1.3.60-dev-2348'

    repositories {
        maven { url '<https://dl.bintray.com/kotlin/kotlin-dev>' }
        mavenCentral()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
something like this, and then you need to apply the plugin too
s
that looks very similar to what I have
i will play with it a bit
which plugin do i have to apply?
@Nikky did you have to change your update channel? For EAP we had to change to the EAP 1.3.x channel
But I see no such channel for dev
nvm, turns out that specific artifiact didn’t get uploaded to bintray for some reason, works with a different build number
n
great
well it could have been that that commit failed tests
s
Yeah who knows, something happened
n
i find it hard to tell what are valid dev and eap versions, but then again i barely need to
s
sadly my project also relies on coroutines which is getting mad about differing kotlin versions, i don’t think there are any coroutines versions that use a dev build available