| plugins { | |
| id 'com.android.application' version '7.4.2' apply false | |
| id 'org.jetbrains.kotlin.android' version '1.8.0' apply false | |
| } | |
| apply plugin: 'com.android.application' | |
| apply plugin: 'org.jetbrains.kotlin.android' | |
| android { | |
| namespace 'com.android.screencapturetest' | |
| compileSdkPreview 'UpsideDownCake' | |
| defaultConfig { | |
| applicationId "com.android.screencapturetest" | |
| minSdk 33 | |
| targetSdk 33 | |
| versionCode 1 | |
| versionName "1.0" | |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
| vectorDrawables { | |
| useSupportLibrary true | |
| } | |
| } | |
| sourceSets { | |
| main { | |
| manifest.srcFile 'AndroidManifest.xml' | |
| java.srcDirs = ['src'] | |
| res.srcDirs = ['res'] | |
| assets.srcDirs = ['assets'] | |
| } | |
| } | |
| buildTypes { | |
| release { | |
| minifyEnabled false | |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
| } | |
| } | |
| compileOptions { | |
| sourceCompatibility JavaVersion.VERSION_1_8 | |
| targetCompatibility JavaVersion.VERSION_1_8 | |
| } | |
| kotlinOptions { | |
| jvmTarget = '1.8' | |
| } | |
| packagingOptions { | |
| resources { | |
| excludes += '/META-INF/{AL2.0,LGPL2.1}' | |
| } | |
| } | |
| } | |
| dependencies { | |
| implementation 'androidx.core:core:1.10.0' | |
| } |