기존 프로젝트 최초 업로드
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
plugins {
|
||||
id("com.google.gms.google-services") version "4.5.0" apply false
|
||||
}
|
||||
|
||||
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")
|
||||
}
|
||||
|
||||
tasks.register<Delete>("clean") {
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
subprojects {
|
||||
plugins.withId("com.android.library") {
|
||||
extensions.configure<com.android.build.gradle.BaseExtension> {
|
||||
compileSdkVersion(36)
|
||||
}
|
||||
}
|
||||
plugins.withId("com.android.application") {
|
||||
extensions.configure<com.android.build.gradle.BaseExtension> {
|
||||
compileSdkVersion(36)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user