Continue switching projects to improved dsl: sourceSets and test running
This commit is contained in:
@@ -2,13 +2,16 @@
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
val compile by configurations
|
||||
compile(project(":core"))
|
||||
compile(ideaSdkCoreDeps(*(rootProject.extra["ideaCoreSdkJars"] as Array<String>)))
|
||||
compile(ideaSdkDeps("jps-model.jar", subdir = "jps"))
|
||||
}
|
||||
|
||||
configureKotlinProjectSourcesDefault()
|
||||
configureKotlinProjectResources("resources", sourcesBaseDir = rootDir)
|
||||
configureKotlinProjectNoTests()
|
||||
sourceSets {
|
||||
"main" {
|
||||
projectDefault()
|
||||
resources.srcDir(File(rootDir, "resources")).apply { include("**") }
|
||||
}
|
||||
"test" {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user