Add task tree plugin for debuging

This commit is contained in:
Ugljesa Jovanovic 2020-06-01 13:11:06 +02:00 committed by Ugljesa Jovanovic
parent 89c3085139
commit f4ddfe9cac
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ fun independentDependencyBlock(nativeDeps : KotlinDependencyHandler.() -> Unit)
* On mac when two targets that have the same parent source set have cinterops defined, gradle creates a "common"
* target task for that source set metadata, even though it's a native source set, to work around that, we create
* an intermediary source set with the same set of dependancies
*
*/
fun NamedDomainObjectContainer<KotlinSourceSet>.createWorkaroundNativeMainSourceSet(name : String, nativeDeps : KotlinDependencyHandler.() -> Unit) : KotlinSourceSet {
return create("${name}Workaround") {

View File

@ -27,6 +27,7 @@ plugins {
id(PluginsDeps.signing)
id(PluginsDeps.node) version Versions.nodePlugin
id(PluginsDeps.dokka) version Versions.dokkaPlugin
id("com.dorongold.task-tree") version "1.5"
}
val sonatypeStaging = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"