31 lines
841 B
Kotlin
31 lines
841 B
Kotlin
|
|
apply { plugin("kotlin") }
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
dependencies {
|
|
compile(project(":core:util.runtime"))
|
|
compile(commonDep("javax.inject"))
|
|
compileOnly(project(":kotlin-stdlib"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testCompile(project(":kotlin-stdlib"))
|
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
|
testCompile(projectDist(":kotlin-test:kotlin-test-junit"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testRuntime(intellijDep()) { includeJars("trove4j") }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest {
|
|
dependsOnTaskIfExistsRec("dist", project = rootProject)
|
|
dependsOn(":prepare:mock-runtime-for-test:dist")
|
|
workingDir = rootDir
|
|
}
|