Fix cooperative development setup for kt-master

This commit is contained in:
Ilya Kirillov
2022-03-01 15:54:00 +01:00
parent 8576265108
commit 7fbfb1bd95
10 changed files with 154 additions and 106 deletions
+8 -2
View File
@@ -397,8 +397,14 @@ allprojects {
val mirrorRepo: String? = findProperty("maven.repository.mirror")?.toString()
repositories {
if (kotlinBuildProperties.getOrNull("attachedIntellijVersion") != null) {
kotlinBuildLocalRepo(project)
when(kotlinBuildProperties.getOrNull("attachedIntellijVersion")) {
null -> {}
"master" -> {
maven { setUrl("https://www.jetbrains.com/intellij-repository/snapshots") }
}
else -> {
kotlinBuildLocalRepo(project)
}
}
mirrorRepo?.let(::maven)