Initial commit
This commit is contained in:
31
android/build.gradle.kts
Normal file
31
android/build.gradle.kts
Normal file
@@ -0,0 +1,31 @@
|
||||
plugins {
|
||||
// Android Gradle Plugin(AGP)
|
||||
id("com.android.application") version "8.7.3" apply false
|
||||
// Kotlin Plugin(Flutter 3.35.5 推奨は 1.9.24)
|
||||
id("org.jetbrains.kotlin.android") apply false
|
||||
// Flutter Gradle Plugin
|
||||
id("dev.flutter.flutter-gradle-plugin") 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)
|
||||
}
|
||||
Reference in New Issue
Block a user