| |
| description = "Kotlin AllOpen Compiler Plugin" |
| |
| plugins { |
| kotlin("jvm") |
| id("jps-compatible") |
| } |
| |
| dependencies { |
| compileOnly(project(":compiler:plugin-api")) |
| compileOnly(project(":compiler:frontend")) |
| compileOnly(intellijCoreDep()) { includeJars("intellij-core") } |
| |
| runtime(kotlinStdlib()) |
| |
| testRuntimeOnly(intellijDep()) { |
| includeJars("guava", rootProject = rootProject) |
| } |
| |
| testRuntimeOnly(project(":kotlin-compiler")) |
| Platform[192].orHigher { |
| testRuntimeOnly(intellijDep()) { includeJars("platform-concurrency") } |
| } |
| |
| testCompile(project(":compiler:backend")) |
| testCompile(project(":compiler:cli")) |
| testCompile(projectTests(":compiler:tests-common")) |
| testCompile(commonDep("junit:junit")) |
| } |
| |
| sourceSets { |
| "main" { projectDefault() } |
| "test" { projectDefault() } |
| } |
| |
| runtimeJar() |
| |
| sourcesJar() |
| |
| javadocJar() |
| |
| testsJar() |
| |
| projectTest(parallel = true) { |
| workingDir = rootDir |
| } |
| |
| apply(from = "$rootDir/gradle/kotlinPluginPublication.gradle.kts") |