apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { namespace = "com.example.testapp" compileSdkVersion 35 buildToolsVersion "35.0.0" defaultConfig { applicationId "com.example.testapp" minSdkVersion 21 targetSdkVersion 35 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11 } } dependencies { implementation 'androidx.appcompat:appcompat:1.7.0' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' }