2019-08-03 15:45:59 +00:00
|
|
|
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"
|
|
|
|
|
2019-08-03 15:45:59 +00:00
|
|
|
// Sets up standard lifecycle tasks like `build` and `assemble`.
|
|
|
|
// Also required for the Zip task to compute its archive file name.
|
|
|
|
base
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.rhubarb_lip_sync"
|
|
|
|
version = "2.0.0-pre-alpha"
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
val zip by creating(Zip::class) {
|
|
|
|
subprojects.forEach { dependsOn("${it.name}:assemble") }
|
|
|
|
|
|
|
|
for (subproject in subprojects) {
|
|
|
|
from(File(subproject.buildDir, "distributions")) {
|
|
|
|
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"
|
|
|
|
}
|