A cross platform Audiobookshelf client for Android and iOS
Dart
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory =
rootProject.layout.buildDirectory
.dir("../../build")
.get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
// Old plugins still compile with Java 8 source/target, which javac warns is
// obsolete. Nothing we can fix from here, so silence that warning category.
allprojects {
tasks.withType<JavaCompile>().configureEach {
options.compilerArgs.add("-Xlint:-options")
}
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}