Files
kotlin-fork/compiler/frontend/build.gradle.kts
T
2018-03-02 03:15:17 +03:00

31 lines
905 B
Kotlin

apply { plugin("kotlin") }
apply { plugin("jps-compatible") }
jvmTarget = "1.6"
val jflexPath by configurations.creating
dependencies {
compile(project(":core:descriptors"))
compile(project(":core:deserialization"))
compile(project(":compiler:util"))
compile(project(":compiler:container"))
compile(project(":compiler:resolution"))
compile(project(":kotlin-script-runtime"))
compile(commonDep("io.javaslang","javaslang"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("annotations", "trove4j", "guava", rootProject = rootProject) }
jflexPath(commonDep("org.jetbrains.intellij.deps.jflex", "jflex"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
ant.importBuild("buildLexer.xml")
ant.properties["builddir"] = buildDir.absolutePath
ant.properties["flex.classpath"] = jflexPath.asPath