1plugins { 2 id 'com.android.application' 3 id 'org.jetbrains.kotlin.android' 4} 5 6android { 7 compileSdkPreview "UpsideDownCake" 8 9 defaultConfig { 10 applicationId "com.example.testadvertiseservice" 11 minSdk 31 12 targetSdk 33 13 versionCode 1 14 versionName "1.0" 15 16 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 } 18 19 buildTypes { 20 release { 21 minifyEnabled false 22 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 23 } 24 } 25 compileOptions { 26 sourceCompatibility JavaVersion.VERSION_1_8 27 targetCompatibility JavaVersion.VERSION_1_8 28 } 29 kotlinOptions { 30 jvmTarget = '1.8' 31 } 32 namespace 'com.example.testadvertiseservice' 33} 34 35dependencies { 36 37 implementation 'androidx.core:core-ktx:1.7.0' 38 implementation 'androidx.appcompat:appcompat:1.3.0' 39 implementation 'com.google.android.material:material:1.4.0' 40 implementation 'androidx.constraintlayout:constraintlayout:2.0.4' 41 implementation 'androidx.core:core-ktx:+' 42 testImplementation 'junit:junit:4.13.2' 43 androidTestImplementation 'androidx.test.ext:junit:1.1.3' 44 androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 45}