aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis
diff options
context:
space:
mode:
authoraSemy <897017+aSemy@users.noreply.github.com>2023-03-07 23:26:06 +0100
committerGitHub <noreply@github.com>2023-03-07 23:26:06 +0100
commit62c980707d23d2d451c75330f7ed1ba613777cf3 (patch)
tree2dd732bdaa23713d665a07bcc28c2ab152dc8096 /kotlin-analysis
parentded804e5772399f1495016d598573cb20b673b58 (diff)
downloaddokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.gz
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.bz2
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.zip
Use buildSrc convention plugins to configure the Dokka subprojects (#2704)
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")