aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis
diff options
context:
space:
mode:
Diffstat (limited to 'kotlin-analysis')
-rw-r--r--kotlin-analysis/build.gradle.kts3
-rw-r--r--kotlin-analysis/compiler-dependency/build.gradle.kts3
-rw-r--r--kotlin-analysis/intellij-dependency/build.gradle.kts11
3 files changed, 12 insertions, 5 deletions
diff --git a/kotlin-analysis/build.gradle.kts b/kotlin-analysis/build.gradle.kts
index c517000e..e2cb50e0 100644
--- a/kotlin-analysis/build.gradle.kts
+++ b/kotlin-analysis/build.gradle.kts
@@ -1,8 +1,9 @@
import org.jetbrains.registerDokkaArtifactPublication
plugins {
+ org.jetbrains.conventions.`kotlin-jvm`
+ org.jetbrains.conventions.`maven-publish`
id("com.github.johnrengelman.shadow")
- `maven-publish`
}
dependencies {
diff --git a/kotlin-analysis/compiler-dependency/build.gradle.kts b/kotlin-analysis/compiler-dependency/build.gradle.kts
index 63e0fb5a..bbea28dd 100644
--- a/kotlin-analysis/compiler-dependency/build.gradle.kts
+++ b/kotlin-analysis/compiler-dependency/build.gradle.kts
@@ -2,8 +2,9 @@ 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`
}
dependencies {
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")