diff options
Diffstat (limited to 'kotlin-analysis/intellij-dependency/build.gradle.kts')
-rw-r--r-- | kotlin-analysis/intellij-dependency/build.gradle.kts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/kotlin-analysis/intellij-dependency/build.gradle.kts b/kotlin-analysis/intellij-dependency/build.gradle.kts index 09c47ef5..732b9d80 100644 --- a/kotlin-analysis/intellij-dependency/build.gradle.kts +++ b/kotlin-analysis/intellij-dependency/build.gradle.kts @@ -2,14 +2,19 @@ import org.jetbrains.DokkaPublicationBuilder.Component.Shadow import org.jetbrains.registerDokkaArtifactPublication plugins { + org.jetbrains.conventions.`kotlin-jvm` + org.jetbrains.conventions.`maven-publish` id("com.github.johnrengelman.shadow") - `maven-publish` } repositories { + // Override the shared repositories defined in the root settings.gradle.kts + // These repositories are very specific and are not needed in other projects mavenCentral() - maven(url = "https://www.jetbrains.com/intellij-repository/snapshots") - maven(url = "https://www.jetbrains.com/intellij-repository/releases") + maven("https://www.jetbrains.com/intellij-repository/snapshots") { + mavenContent { snapshotsOnly() } + } + maven("https://www.jetbrains.com/intellij-repository/releases") maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide") maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies") maven("https://cache-redirector.jetbrains.com/intellij-dependencies") |