aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-22 14:31:12 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-02-22 14:31:12 +0300
commitf37d9c3bdd91c5af683eb7eaaf242d7af3d6fcf1 (patch)
treeb9039596c118469ef4f9151eee195a50c0cac4f1 /core/build.gradle
parent79a7a136bdc3a59d7bb3aebb51e565b58e2b789c (diff)
parent3eb23215edcd1cf92966f8d39afe754fef0c7a19 (diff)
downloaddokka-f37d9c3bdd91c5af683eb7eaaf242d7af3d6fcf1.tar.gz
dokka-f37d9c3bdd91c5af683eb7eaaf242d7af3d6fcf1.tar.bz2
dokka-f37d9c3bdd91c5af683eb7eaaf242d7af3d6fcf1.zip
Merge branch 'dev'
Diffstat (limited to 'core/build.gradle')
-rw-r--r--core/build.gradle28
1 files changed, 19 insertions, 9 deletions
diff --git a/core/build.gradle b/core/build.gradle
index c705e2cf..1a93bb48 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -8,21 +8,30 @@ buildscript {
apply plugin: 'kotlin'
-sourceCompatibility = 1.6
+sourceCompatibility = 1.8
+
+tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
+ kotlinOptions {
+ languageVersion = "1.2"
+ apiVersion = languageVersion
+ jvmTarget = "1.8"
+ }
+}
dependencies {
- compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_version
- compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
+ compile "org.jetbrains.kotlin:kotlin-stdlib:$bundled_kotlin_compiler_version"
+ compile "org.jetbrains.kotlin:kotlin-reflect:$bundled_kotlin_compiler_version"
compile group: 'com.google.inject', name: 'guice', version: '3.0'
compile "org.jsoup:jsoup:1.8.3"
- compile files("../lib/intellij-core-analysis.jar")
+ compile "org.jetbrains.kotlin:kotlin-compiler:$bundled_kotlin_compiler_version"
+ compile "org.jetbrains.kotlin:kotlin-script-runtime:$bundled_kotlin_compiler_version"
- compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler', version: kotlin_version
- compile group: 'org.jetbrains.kotlin', name: 'kotlin-script-runtime', version: kotlin_version
- compile files("../lib/kotlin-ide-common.jar")
- compile files("../lib/markdown.jar")
+ compile "teamcity:kotlin-ide-common:$bundled_kotlin_compiler_version"
+ compile "teamcity:markdown:$markdownVersion"
+
+ compile intellijCoreAnalysis()
//tools.jar
def toolsJar = files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs().findAll { it.path.endsWith("jar") })
@@ -34,5 +43,6 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlin_version
testCompile "com.nhaarman:mockito-kotlin-kt1.1:1.5.0"
-}
+ testCompile ideaRT()
+} \ No newline at end of file