import org.jetbrains.kotlin.gradle.tasks.KotlinCompile // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { kotlin_version = '1.9.0' ksp_version = '1.9.0-1.0.12' kotlin_coroutines_version = "1.7.3" compose_version = "1.6.0-alpha02" compose_compiler_version = "1.5.1" koin_version = "3.4.2" okhttp = "4.11.0" moshi = "1.14.0" coil = "2.4.0" room = "2.5.2" joda_time = "2.10.10" jsoup = "1.14.3" } repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:8.5.0' // classpath 'com.google.gms:google-services:4.3.15' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}" classpath "com.google.devtools.ksp:symbol-processing-gradle-plugin:${ksp_version}" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } subprojects { tasks.withType(KotlinCompile).configureEach { kotlinOptions { if (project.findProperty("kuroba_ex_lite.enableComposeCompilerReports") == "true") { freeCompilerArgs += [ "-P", "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + project.buildDir.absolutePath + "/compose_metrics" ] freeCompilerArgs += [ "-P", "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + project.buildDir.absolutePath + "/compose_metrics" ] } } } } tasks.register('clean', Delete) { delete rootProject.buildDir }