https://kotlinlang.org logo
Title
g

Gavin Ray

01/22/2022, 11:28 PM
Does anyone happen to know if it's possible to use the
-DEV
or
-SNAPSHOT
builds via Gradle? I've tried adding the sources in the README here: • https://github.com/JetBrains/kotlin#using--dev-and--snapshot-versions But my build doesn't seem to be able to find the versions
1.7.0-dev-911
or
1.7.255-SNAPSHOT
e

ephemient

01/22/2022, 11:51 PM
did you add the additional maven repo (listed right there in the same section of the README)?
g

Gavin Ray

01/23/2022, 12:39 AM
I believe so 🤔 I've added these to my
repository
block in
build.gradle.kts
maven { url = uri("<https://oss.sonatype.org/content/repositories/snapshots/>") }
maven { url = uri("<https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap>") }
e

ephemient

01/23/2022, 12:55 AM
you'll need to do the same in pluginManagement if you want to use those versions in plugins block, or buildscript if you want to use those versions in apply
g

Gavin Ray

01/23/2022, 2:09 PM
Thank you -- this seems to have fixed it! Seems obvious in hindsight 🤦‍♂️