improve console it project structs

This commit is contained in:
Karlatemp 2022-06-22 17:14:21 +08:00
parent 3c3657969f
commit f69fdb7ac1
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59
19 changed files with 6 additions and 3 deletions

View File

@ -94,10 +94,13 @@ mcit_test.configure {
val crtProject = project
allprojects {
if (project != crtProject) {
if (project.file(".module-group.txt").exists()) return@allprojects
project.afterEvaluate {
val tk = tasks.named<Jar>("jar")
subplugins.add(tk)
mcit_test.configure { dependsOn(tk) }
runCatching {
val tk = tasks.named<Jar>("jar")
subplugins.add(tk)
mcit_test.configure { dependsOn(tk) }
}
}
}
}