Files
kotlin-fork/compiler/psi/build.gradle.kts
T
Bogdan Mukvich 7b00323b89 [Build] Update guava
Fix some reports from "Show Vulnerable Dependencies"

^KTI-1342
2023-08-25 14:10:37 +00:00

41 lines
860 B
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
repositories {
maven("https://packages.jetbrains.team/maven/p/ij/intellij-dependencies")
}
val jflexPath by configurations.creating
dependencies {
api(project(":core:compiler.common"))
api(project(":compiler:util"))
api(project(":compiler:frontend.common"))
api(project(":kotlin-script-runtime"))
compileOnly(intellijCore())
compileOnly(libs.guava)
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
jflexPath(commonDependency("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
}
}