mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
52 lines
1.3 KiB
Kotlin
52 lines
1.3 KiB
Kotlin
|
|
description = "Kotlin Scripting Compiler Plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":compiler:psi"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compile(project(":kotlin-scripting-common"))
|
|
compile(project(":kotlin-scripting-jvm"))
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
compileOnly(intellijDep()) { includeJars("asm-all") }
|
|
|
|
testCompile(project(":compiler:frontend"))
|
|
testCompile(project(":compiler:frontend.script"))
|
|
testCompile(project(":compiler:plugin-api"))
|
|
testCompile(project(":compiler:util"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(project(":compiler:cli-common"))
|
|
testCompile(project(":compiler:frontend.java"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
val jar = runtimeJar {
|
|
from(fileTree("$projectDir/src")) { include("META-INF/**") }
|
|
}
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
publish()
|
|
|
|
dist()
|
|
|
|
ideaPlugin()
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|