diff options
author | aSemy <897017+aSemy@users.noreply.github.com> | 2023-03-07 23:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 23:26:06 +0100 |
commit | 62c980707d23d2d451c75330f7ed1ba613777cf3 (patch) | |
tree | 2dd732bdaa23713d665a07bcc28c2ab152dc8096 /kotlin-analysis/intellij-dependency | |
parent | ded804e5772399f1495016d598573cb20b673b58 (diff) | |
download | dokka-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/intellij-dependency')
-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") |