blob: 8aa44977ff92a32ee65d26947890891114fd4b68 [file] [log] [blame] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
repositories {
maven("https://jetbrains.bintray.com/intellij-third-party-dependencies")
}
val jflexPath by configurations.creating
dependencies {
val compile by configurations
val compileOnly by configurations
compile(project(":core:descriptors"))
compile(project(":compiler:util"))
compile(project(":compiler:frontend.common"))
compile(project(":kotlin-script-runtime"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("guava", "trove4j", rootProject = rootProject) }
jflexPath(commonDep("org.jetbrains.intellij.deps.jflex", "jflex"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
ant.importBuild("buildLexer.xml")
ant.properties["builddir"] = buildDir.absolutePath
tasks.findByName("lexer")!!.apply {
doFirst {
ant.properties["flex.classpath"] = jflexPath.asPath
}
}