mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Publish cooperative development mode artifacts compatible with Bazel build in IntelliJ
^KT-80717 Fixed GitOrigin-RevId: 25e62714ffb47dad6936e29b05c5f1842111eb9d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6d4356f225
commit
169f7c92fd
+2
-1
@@ -1 +1,2 @@
|
||||
/snapshots
|
||||
/snapshots
|
||||
/kotlin-snapshot
|
||||
+4
-1
@@ -158,7 +158,10 @@ private fun JpsLibrary.convertMavenUrlToCooperativeIfNeeded(artifactsMode: Artif
|
||||
fun convertUrl(url: JpsUrl): JpsUrl {
|
||||
return when (url.path) {
|
||||
is JpsPath.ProjectDir -> url
|
||||
is JpsPath.MavenRepository -> JpsUrl.Jar(JpsPath.ProjectDir("../build/repo/${url.path.relativePath}", isCommunity))
|
||||
is JpsPath.MavenRepository -> {
|
||||
val snapshotDirectoryPath = "lib/kotlin-snapshot"
|
||||
JpsUrl.Jar(JpsPath.ProjectDir("$snapshotDirectoryPath/${url.path.relativePath}", isCommunity))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user