Joey | 3d2bb87 | 2019-04-22 14:50:51 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2019 The LineageOS Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | apply plugin: 'com.android.application' |
| 18 | |
| 19 | android { |
| 20 | compileSdkVersion 28 |
| 21 | |
| 22 | defaultConfig { |
| 23 | applicationId "org.lineageos.backgrounds" |
| 24 | minSdkVersion 27 |
| 25 | targetSdkVersion 28 |
| 26 | versionCode 1 |
| 27 | versionName "1.0" |
| 28 | } |
| 29 | |
| 30 | buildTypes { |
| 31 | release { |
| 32 | minifyEnabled false |
| 33 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | compileOptions { |
| 38 | sourceCompatibility JavaVersion.VERSION_1_8 |
| 39 | targetCompatibility JavaVersion.VERSION_1_8 |
| 40 | } |
| 41 | |
| 42 | sourceSets { |
| 43 | main { |
| 44 | res.srcDirs = ['src/main/res', 'src/main/res_1080p'] |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | dependencies { |
| 50 | implementation 'androidx.appcompat:appcompat:1.0.2' |
| 51 | implementation 'androidx.palette:palette:1.0.0' |
| 52 | implementation 'androidx.recyclerview:recyclerview:1.0.0' |
| 53 | } |