Explain how to use -dev and -SNAPSHOT versions

This commit is contained in:
soywiz
2021-04-26 14:10:52 +02:00
committed by TeamCityServer
parent 86cabf3bb7
commit f6298ed1d5
+12
View File
@@ -166,6 +166,18 @@ to perform such updates:
- If youre adding a dependency with OS mentioning in an artifact name (`darwin`, `mac`, `osx`, `linux`, `windows`), remember to add
counterparts for other platforms.
## Using -dev and -SNAPSHOT versions
We publish `-dev` and `-SNAPSHOT` versions frequently.
For `-dev` versions you can use the [list of available versions](https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap/org/jetbrains/kotlin/kotlin-compiler/maven-metadata.xml) and include this maven repository:
`maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap") }`
For `-SNAPSHOT` versions that are updated daily, you can use the [list of available versions](https://oss.sonatype.org/content/repositories/snapshots/org/jetbrains/kotlin/kotlin-compiler/maven-metadata.xml) and include this maven repository:
`maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }`
# License
Kotlin is distributed under the terms of the Apache License (Version 2.0). See [license folder](license/README.md) for details.