aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-09 21:43:37 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-09 21:43:37 +0300
commit4626531f95e60e03086da163cde5edf5411a8d9b (patch)
tree40918b09816617c7c793a016757afd93725319b7 /build.gradle
parentf3c83f4751814984fb9aedeb991725620a287f33 (diff)
downloaddokka-4626531f95e60e03086da163cde5edf5411a8d9b.tar.gz
dokka-4626531f95e60e03086da163cde5edf5411a8d9b.tar.bz2
dokka-4626531f95e60e03086da163cde5edf5411a8d9b.zip
Drop dependency on intellij-core-analysis
Instead of it, download idea.jar and manually strip it Also, depends on same as kotlin-compiler openapi version
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index b89a8c92..bd960ca8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,5 @@
+import org.jetbrains.DependenciesVersionGetter
+
allprojects {
group 'org.jetbrains.dokka'
version dokka_version
@@ -15,6 +17,8 @@ allprojects {
maven { url "http://dl.bintray.com/kotlin/kotlin-eap" }
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
maven { url "https://plugins.gradle.org/m2/" }
+ maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
+ maven { url "http://dl.bintray.com/jetbrains/intellij-plugin-service" }
ivy(repo)
}
dependencies {
@@ -64,4 +68,8 @@ def bintrayPublication(project, List<String> _publications) {
task wrapper(type: Wrapper) {
gradleVersion = '4.2.1'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
-} \ No newline at end of file
+}
+
+def versions = DependenciesVersionGetter.getVersions(project, kotlin_compiler_version)
+
+ext.ideaVersion = versions["idea.build.id"] \ No newline at end of file