[K/N] More idiomatic configurations usage for CompilationDatabasePlugin ^KT-53776

This commit is contained in:
Alexander Shabalin
2022-12-09 14:51:04 +01:00
committed by Space Team
parent f2835f3534
commit 41dbbd1fc8
2 changed files with 44 additions and 37 deletions
+3 -3
View File
@@ -740,11 +740,11 @@ task pusher(type: KotlinBuildPusher){
}
compilationDatabase {
allTargets {
mergeFrom(configurations.compilationDatabase)
}
allTargets {}
}
// TODO: Replace with a more convenient user-facing task that can build for a specific target.
// like compilationDatabase with optional argument --target.
tasks.register("compdb", Copy) {
from compilationDatabase.hostTarget.task
into layout.projectDirectory