plugins { id("com.android.application") id("org.jetbrains.kotlin.plugin.compose") } android { namespace = "com.labfytools.trainlog" compileSdk = 37 defaultConfig { applicationId = "com.labfytools.trainlog" minSdk = 26 targetSdk = 36 versionCode = 1 versionName = "0.1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } buildFeatures { compose = true } testOptions { unitTests.isIncludeAndroidResources = true unitTests.all { it.systemProperty( "user.home", layout.buildDirectory .get() .asFile .absolutePath, ) } } } dependencies { val composeBom = platform("androidx.compose:compose-bom:2026.08.00") implementation(composeBom) androidTestImplementation(composeBom) implementation( "androidx.activity:activity-compose:1.13.0" ) implementation( "androidx.compose.foundation:foundation" ) implementation( "androidx.compose.ui:ui" ) implementation( "androidx.compose.ui:ui-tooling-preview" ) implementation("androidx.documentfile:documentfile:1.1.0") debugImplementation( "androidx.compose.ui:ui-tooling" ) testImplementation("junit:junit:4.13.2") testImplementation("androidx.test:core:1.7.0") testImplementation("org.robolectric:robolectric:4.16.1") androidTestImplementation("androidx.test.ext:junit:1.3.0") androidTestImplementation("androidx.test:runner:1.7.0") androidTestImplementation("androidx.compose.ui:ui-test-junit4") }