OSDN Git Service

Taskbar 3.1.1
[android-x86/packages-apps-Taskbar.git] / app / build.gradle
1 ext {
2     SUPPORT_LIBRARY_VERSION = "25.3.0"
3 }
4
5 buildscript {
6     repositories {
7         mavenCentral()
8     }
9
10     dependencies {
11         classpath 'me.tatarka:gradle-retrolambda:3.6.0'
12     }
13 }
14
15 apply plugin: 'com.android.application'
16 apply plugin: 'me.tatarka.retrolambda'
17
18 repositories {
19     maven {
20         url "https://jitpack.io"
21     }
22 }
23
24 android {
25     compileSdkVersion 25
26     buildToolsVersion "25.0.2"
27
28     defaultConfig {
29         applicationId "com.farmerbb.taskbar"
30         minSdkVersion 21
31         targetSdkVersion 25
32
33         versionCode 130
34         versionName "3.1.1"
35
36         resConfigs "en", "ja", "ru", "de"
37
38         buildConfigField "String", "BASE_APPLICATION_ID", "\"com.farmerbb.taskbar\""
39     }
40
41     compileOptions {
42         sourceCompatibility JavaVersion.VERSION_1_8
43         targetCompatibility JavaVersion.VERSION_1_8
44     }
45
46     buildTypes {
47         debug {
48             applicationIdSuffix ".debug"
49             manifestPlaceholders = [appName: "@string/app_name_debug"]
50         }
51
52         release {
53             minifyEnabled true
54             shrinkResources true
55             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
56             manifestPlaceholders = [appName: "@string/app_name"]
57         }
58     }
59
60     productFlavors {
61         paid {
62             applicationId "com.farmerbb.taskbar.paid"
63         }
64
65         free {
66             applicationId "com.farmerbb.taskbar"
67         }
68     }
69 }
70
71 dependencies {
72     compile fileTree(dir: 'libs', include: ['*.jar'])
73     compile "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}"
74     compile "com.android.support:design:${SUPPORT_LIBRARY_VERSION}"
75     compile 'com.github.enricocid:cpl:1.0.2'
76     compile 'moe.banana:toast-compat:1.0.5'
77 }
78