Files
kotlin-fork/js/js.translator/build.gradle.kts
T
Alexey Tsvetkov 8a82c1618c Use Plugins DSL in Kotlin Gradle scripts
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00

35 lines
822 B
Kotlin

import org.gradle.plugins.ide.idea.model.IdeaModel
plugins {
idea
kotlin("jvm")
id("jps-compatible")
}
jvmTarget = "1.6"
dependencies {
compile(project(":core:descriptors"))
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
compile(project(":compiler:backend-common"))
compile(project(":js:js.ast"))
compile(project(":js:js.frontend"))
compile(project(":js:js.parser"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j", "guava", rootProject = rootProject) }
}
sourceSets {
"main" {
projectDefault()
java.srcDir("../js.inliner/src")
}
"test" {}
}
configure<IdeaModel> {
module {
excludeDirs = excludeDirs + files("testData/out-min")
}
}