rhubarb-lip-sync/build.gradle.kts

34 lines
765 B
Plaintext
Raw Normal View History

plugins {
2019-08-03 19:33:21 +00:00
// Build scan plugin should be listed first.
// See https://guides.gradle.org/creating-build-scans/#enable_build_scans_on_all_builds_of_your_project
id("com.gradle.build-scan") version "2.1"
base
}
group = "com.rhubarb_lip_sync"
version = "2.0.0-pre-alpha"
val distsDirName = convention.getPlugin(BasePluginConvention::class).distsDirName
tasks {
val zip by creating(Zip::class) {
subprojects.forEach { dependsOn("${it.name}:assemble") }
for (subproject in subprojects) {
from(File(subproject.buildDir, distsDirName)) {
into(if (subproject.name == "rhubarb") "" else subproject.name)
}
}
}
assemble {
dependsOn(zip)
}
}
2019-08-03 19:33:21 +00:00
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}