2024-08-22 14:35:09 +09:00
|
|
|
// added
|
2023-09-03 23:37:41 +05:30
|
|
|
buildscript {
|
2024-08-22 14:35:09 +09:00
|
|
|
ext.kotlin_version = '1.8.22' // Use the latest version
|
2023-09-03 23:37:41 +05:30
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
|
|
|
|
dependencies {
|
2024-08-22 14:35:09 +09:00
|
|
|
classpath 'com.android.tools.build:gradle:8.3.0' //8.3.0' //7.3.0' // Use the version compatible with your Android Studio
|
2023-09-03 23:37:41 +05:30
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-08-22 14:35:09 +09:00
|
|
|
// added ここまで
|
2023-09-03 23:37:41 +05:30
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-22 14:35:09 +09:00
|
|
|
rootProject.buildDir = "../build"
|
2023-09-03 23:37:41 +05:30
|
|
|
subprojects {
|
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
|
}
|
|
|
|
|
subprojects {
|
2024-08-22 14:35:09 +09:00
|
|
|
project.evaluationDependsOn(":app")
|
2023-09-03 23:37:41 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.register("clean", Delete) {
|
|
|
|
|
delete rootProject.buildDir
|
|
|
|
|
}
|
2024-08-22 14:35:09 +09:00
|
|
|
|
|
|
|
|
|