1 // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
5 maven("https://dl.bintray.com/jetbrains/intellij-plugin-service")
11 maven("https://jetbrains.bintray.com/intellij-third-party-dependencies")
12 maven("https://jetbrains.bintray.com/jediterm")
13 maven("https://jetbrains.bintray.com/pty4j")
14 maven("https://cache-redirector.jetbrains.com/www.myget.org/F/rd-snapshots/maven")
18 id("org.jetbrains.intellij") version "0.4.23"
20 kotlin("jvm") version "1.4.0"
24 implementation(kotlin("stdlib-jdk8"))
25 testImplementation("junit", "junit", "4.12")
31 setSrcDirs(listOf("src", "gen"))
34 setSrcDirs(listOf("resources"))
39 setSrcDirs(listOf("test"))
45 sourceCompatibility = JavaVersion.VERSION_11
46 targetCompatibility = JavaVersion.VERSION_11
49 val ideVersion = "203-SNAPSHOT"
52 version = "IU-${ideVersion}"
53 pluginName = "AngularJS"
54 downloadSources = true
55 updateSinceUntilBuild = false
56 setPlugins("JavaScriptLanguage", "JSIntentionPowerPack", "CSS", "uml", "tslint")
60 testImplementation("com.jetbrains.intellij.javascript:javascript-test-framework:${ideVersion}")
61 testImplementation("com.jetbrains.intellij.resharper:resharper-test-framework:${ideVersion}")
62 testImplementation("com.jetbrains.intellij.copyright:copyright:${ideVersion}")
63 testImplementation("com.mscharhag.oleaster:oleaster-matcher:0.2.0")
64 testImplementation("com.mscharhag.oleaster:oleaster-runner:0.2.0")
68 withType(JavaCompile::class.java) {
69 options.encoding = "UTF-8"
71 withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java) {
72 kotlinOptions.jvmTarget = "11"
73 kotlinOptions.freeCompilerArgs = listOf("-Xjvm-default=compatibility")
76 systemProperty("idea.home.path", File("${projectDir}/../../").absolutePath)
79 gradleVersion = "6.6.1"