| plugins { |
| kotlin("jvm") |
| } |
| |
| dependencies { |
| compileOnly(project(":compiler:fir:cones")) |
| compileOnly(project(":compiler:fir:tree")) |
| compileOnly(project(":compiler:fir:resolve")) |
| compileOnly(project(":compiler:fir:plugin-utils")) |
| compileOnly(project(":compiler:fir:checkers")) |
| compileOnly(project(":compiler:fir:fir2ir")) |
| compileOnly(project(":compiler:ir.backend.common")) |
| compileOnly(project(":compiler:ir.tree")) |
| compileOnly(project(":compiler:fir:entrypoint")) |
| compileOnly(project(":compiler:plugin-api")) |
| compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false } |
| compileOnly(intellijCore()) |
| compileOnly(libs.intellij.asm) |
| implementation(variantOf(libs.dataframe.compiler.plugin.core) { classifier("all") }) |
| embedded(variantOf(libs.dataframe.compiler.plugin.core) { classifier("all") }) |
| |
| testRuntimeOnly(libs.dataframe.core.dev) |
| testRuntimeOnly(libs.dataframe.csv.dev) |
| testApi(platform(libs.junit.bom)) |
| testImplementation(libs.junit.jupiter.api) |
| testRuntimeOnly(libs.junit.jupiter.engine) |
| testApi(projectTests(":compiler:tests-common-new")) |
| testApi(projectTests(":compiler:test-infrastructure")) |
| testApi(projectTests(":compiler:test-infrastructure-utils")) |
| testApi(projectTests(":compiler:fir:analysis-tests")) |
| testApi(projectTests(":js:js.tests")) |
| testApi(project(":compiler:fir:plugin-utils")) |
| } |
| |
| val generationRoot = projectDir.resolve("tests-gen") |
| |
| sourceSets { |
| "main" { projectDefault() } |
| "test" { |
| projectDefault() |
| this.java.srcDir(generationRoot.name) |
| } |
| } |
| |
| projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) { |
| dependsOn(":dist") |
| workingDir = rootDir |
| useJUnitPlatform() |
| } |
| |
| publish() |
| runtimeJarWithRelocation { |
| from(mainSourceSet.output) |
| dependencies { |
| exclude(dependency("org.jetbrains.kotlin:kotlin-stdlib:.*")) |
| } |
| } |
| sourcesJar() |
| javadocJar() |
| testsJar() |
| |
| optInToExperimentalCompilerApi() |