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 |
Sebastiano Barezzi | 4bf39d5 | 2023-10-04 19:27:56 +0200 | [diff] [blame] | 13 | namespace = "com.google.android.apps.googlecamera.fishfood" |
LuK1337 | eadaf72 | 2023-02-08 01:04:33 +0100 | [diff] [blame] | 14 | |
| 15 | defaultConfig { |
| 16 | applicationId = "com.google.android.apps.googlecamera.fishfood" |
| 17 | minSdk = 26 |
| 18 | targetSdk = 33 |
| 19 | versionCode = 1 |
| 20 | versionName = "1.0" |
| 21 | } |
| 22 | |
| 23 | buildTypes { |
| 24 | getByName("release") { |
| 25 | // Enables code shrinking, obfuscation, and optimization. |
| 26 | isMinifyEnabled = true |
| 27 | |
| 28 | // Enables resource shrinking. |
| 29 | isShrinkResources = true |
| 30 | |
| 31 | // Includes the default ProGuard rules files. |
| 32 | setProguardFiles( |
| 33 | listOf( |
| 34 | getDefaultProguardFile("proguard-android-optimize.txt"), |
| 35 | "proguard-rules.pro" |
| 36 | ) |
| 37 | ) |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | compileOptions { |
| 42 | sourceCompatibility = JavaVersion.VERSION_1_8 |
| 43 | targetCompatibility = JavaVersion.VERSION_1_8 |
| 44 | } |
| 45 | |
| 46 | kotlinOptions { |
| 47 | jvmTarget = "1.8" |
| 48 | } |
| 49 | } |