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