LuK1337 | eadaf72 | 2023-02-08 01:04:33 +0100 | [diff] [blame] | 1 | plugins { |
| 2 | id("com.android.application") |
| 3 | id("org.jetbrains.kotlin.android") |
| 4 | } |
| 5 | |
| 6 | android { |
| 7 | compileSdk = 33 |
| 8 | |
| 9 | defaultConfig { |
| 10 | applicationId = "com.google.android.apps.googlecamera.fishfood" |
| 11 | minSdk = 26 |
| 12 | targetSdk = 33 |
| 13 | versionCode = 1 |
| 14 | versionName = "1.0" |
| 15 | } |
| 16 | |
| 17 | buildTypes { |
| 18 | getByName("release") { |
| 19 | // Enables code shrinking, obfuscation, and optimization. |
| 20 | isMinifyEnabled = true |
| 21 | |
| 22 | // Enables resource shrinking. |
| 23 | isShrinkResources = true |
| 24 | |
| 25 | // Includes the default ProGuard rules files. |
| 26 | setProguardFiles( |
| 27 | listOf( |
| 28 | getDefaultProguardFile("proguard-android-optimize.txt"), |
| 29 | "proguard-rules.pro" |
| 30 | ) |
| 31 | ) |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | compileOptions { |
| 36 | sourceCompatibility = JavaVersion.VERSION_1_8 |
| 37 | targetCompatibility = JavaVersion.VERSION_1_8 |
| 38 | } |
| 39 | |
| 40 | kotlinOptions { |
| 41 | jvmTarget = "1.8" |
| 42 | } |
| 43 | } |