OSDN Git Service

Taskbar 3.2
[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 137
34         versionName "3.2"
35
36         resConfigs "en", "ja", "ru", "de"
37
38         buildConfigField "String", "BASE_APPLICATION_ID", "\"com.farmerbb.taskbar\""
39         buildConfigField "String", "SUPPORT_APPLICATION_ID", "\"com.farmerbb.taskbar.support\""
40     }
41
42     compileOptions {
43         sourceCompatibility JavaVersion.VERSION_1_8
44         targetCompatibility JavaVersion.VERSION_1_8
45     }
46
47     buildTypes {
48         debug {
49             applicationIdSuffix ".debug"
50             manifestPlaceholders = [appName: "@string/app_name_debug"]
51         }
52
53         release {
54             minifyEnabled true
55             shrinkResources true
56             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
57             manifestPlaceholders = [appName: "@string/app_name"]
58         }
59     }
60
61     productFlavors {
62         paid {
63             applicationId "com.farmerbb.taskbar.paid"
64         }
65
66         free {
67             applicationId "com.farmerbb.taskbar"
68         }
69     }
70 }
71
72 dependencies {
73     compile fileTree(dir: 'libs', include: ['*.jar'])
74     compile "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}"
75     compile "com.android.support:design:${SUPPORT_LIBRARY_VERSION}"
76     compile 'com.github.enricocid:cpl:1.0.2'
77     compile 'moe.banana:toast-compat:1.0.5'
78 }
79