aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-01-24 14:41:33 +0100
committerKamil Doległo <kamilok1965@users.noreply.github.com>2020-01-29 14:47:52 +0100
commita51a92429fd3d5e6836bf1d43244b00b92587a7d (patch)
treeb39bb6b7dbfc5081da89c9398d6744868f689238 /build.gradle
parentd1585771c34263f9fb7d9e165ddf9cd349157143 (diff)
downloaddokka-a51a92429fd3d5e6836bf1d43244b00b92587a7d.tar.gz
dokka-a51a92429fd3d5e6836bf1d43244b00b92587a7d.tar.bz2
dokka-a51a92429fd3d5e6836bf1d43244b00b92587a7d.zip
Update kotlin compiler version to 1.3.61
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle24
1 files changed, 5 insertions, 19 deletions
diff --git a/build.gradle b/build.gradle
index 73636b24..777d45dd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,3 @@
-import org.jetbrains.DependenciesVersionGetter
-
allprojects {
ext {
if (!project.findProperty("dokka_version")) {
@@ -41,6 +39,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" }
@@ -78,10 +78,6 @@ def bintrayPublication(project, List<String> _publications) {
})
}
-def versions = DependenciesVersionGetter.getVersions(project, bundled_kotlin_compiler_version)
-
-ext.ideaVersion = versions["idea.build.id"]
-ext.markdownVersion = versions["markdown.build.id"].replace("%20", " ")
configurations {
ideaIC
@@ -89,13 +85,14 @@ configurations {
}
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:$ideaVersion"
- ideaIC "com.jetbrains.intellij.idea:ideaIC:$ideaVersion"
+ intellijCore "com.jetbrains.intellij.idea:intellij-core:$idea_version"
+ ideaIC "com.jetbrains.intellij.idea:ideaIC:$idea_version"
}
def intellijCoreAnalysis() {
@@ -116,17 +113,6 @@ configurations {
kotlin_plugin_full
}
-dependencies {
- final String ijVersion = "20" + ideaVersion.take(2) + "." + ideaVersion[2]
- kotlin_plugin_full "teamcity:kotlin-plugin-$bundled_kotlin_compiler_version-IJ$ijVersion-1:$bundled_kotlin_compiler_version@zip"
-}
-
-def kotlinPluginDependency() {
- return zipTree(configurations.kotlin_plugin_full.singleFile).matching({
- include("Kotlin/lib/kotlin-plugin.jar")
- })
-}
-
allprojects {