diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-01-24 14:41:33 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-01-31 15:27:26 +0100 |
commit | 0073c4c547dafaae5d465d4c410a52fd7fdc818d (patch) | |
tree | 3d98a7d1bebeb3ffaf269f1c41396d1fb3c3fea6 /build.gradle | |
parent | 07e6778ab70122784e0c239c70838adbec66042d (diff) | |
download | dokka-0073c4c547dafaae5d465d4c410a52fd7fdc818d.tar.gz dokka-0073c4c547dafaae5d465d4c410a52fd7fdc818d.tar.bz2 dokka-0073c4c547dafaae5d465d4c410a52fd7fdc818d.zip |
Cherry-pick 'analysis_rewrite_1.3.61'
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/build.gradle b/build.gradle index 2dfc4e01..35fa8667 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,3 @@ -import org.jetbrains.DependenciesVersionGetter - allprojects { ext { if (!project.findProperty("dokka_version")) { @@ -35,6 +33,8 @@ allprojects { jcenter() mavenCentral() mavenLocal() + maven { url 'https://kotlin.bintray.com/kotlin-plugin' } + maven { url 'https://www.jetbrains.com/intellij-repository/releases' } maven { url "https://dl.bintray.com/jetbrains/markdown" } maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } @@ -72,6 +72,21 @@ def bintrayPublication(project, List<String> _publications) { } +configurations { + ideaIC + intellijCore +} + +repositories { + maven { url 'https://kotlin.bintray.com/kotlin-plugin' } + maven { url 'https://www.jetbrains.com/intellij-repository/snapshots' } + maven { url 'https://www.jetbrains.com/intellij-repository/releases' } +} + +dependencies { + intellijCore "com.jetbrains.intellij.idea:intellij-core:$idea_version" + ideaIC "com.jetbrains.intellij.idea:ideaIC:$idea_version" +} def ideaRT() { return zipTree(project.configurations.ideaIC.singleFile).matching ({ @@ -102,30 +117,4 @@ allprojects { } } -} - -ext.ivyrepo = { - artifactPattern("https://teamcity.jetbrains.com/guestAuth/repository/download/Kotlin_dev_CompilerAllPlugins/[revision]/internal/[module](.[ext])") - artifactPattern("https://teamcity.jetbrains.com/guestAuth/repository/download/Kotlin_dev_CompilerAllPlugins/[revision]/[module](.[ext])") - artifactPattern("https://teamcity.jetbrains.com/guestAuth/repository/download/IntelliJMarkdownParser_Build/[revision]/([module]_[ext]/)[module](.[ext])") -} - -repositories { - ivy(ivyrepo) - maven { url 'https://www.jetbrains.com/intellij-repository/snapshots' } - maven { url 'https://www.jetbrains.com/intellij-repository/releases' } -} - -configurations { - ideaIC - intellijCore -} -def versions = DependenciesVersionGetter.getVersions(project, bundled_kotlin_compiler_version) - -ext.ideaVersion = versions["idea.build.id"] -ext.markdownVersion = versions["markdown.build.id"].replace("%20", " ") - -dependencies { - intellijCore "com.jetbrains.intellij.idea:intellij-core:$ideaVersion" - ideaIC "com.jetbrains.intellij.idea:ideaIC:$ideaVersion" }
\ No newline at end of file |