Files
kotlin-fork/plugins/sam-with-receiver/sam-with-receiver-cli/build.gradle.kts
T
Yan Zhulanow 54470fe2b7 Pill: Remove source dependencies to 'tests-common'
'tests-common' module does only have a test source set so the dependency is redundant.
2018-08-07 11:55:23 +03:00

47 lines
919 B
Kotlin

description = "Kotlin SamWithReceiver Compiler Plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(project(":compiler:plugin-api"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testCompile(project(":compiler:backend"))
testCompile(project(":compiler:cli"))
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()
testsJar {}
publish()
dist {
rename("kotlin-", "")
}
ideaPlugin {
from(jar)
}
projectTest {
dependsOn(":kotlin-stdlib:jvm-minimal-for-test:dist")
workingDir = rootDir
}