ext { SUPPORT_LIBRARY_VERSION = "26.0.0" } buildscript { repositories { mavenCentral() } dependencies { classpath 'me.tatarka:gradle-retrolambda:3.7.0' } } apply plugin: 'com.android.application' apply plugin: 'me.tatarka.retrolambda' repositories { maven { url "https://maven.google.com" } maven { url "https://jitpack.io" } } android { compileSdkVersion 26 buildToolsVersion "26.0.0" defaultConfig { applicationId "com.farmerbb.taskbar" minSdkVersion 21 targetSdkVersion 26 versionCode 158 versionName "3.6.1" resConfigs "en", "ja", "ru", "de" buildConfigField "String", "BASE_APPLICATION_ID", "\"com.farmerbb.taskbar\"" buildConfigField "String", "PAID_APPLICATION_ID", "\"com.farmerbb.taskbar.paid\"" buildConfigField "String", "SUPPORT_APPLICATION_ID", "\"com.farmerbb.taskbar.support\"" buildConfigField "String", "ANDROIDX86_APPLICATION_ID", "\"com.farmerbb.taskbar.androidx86\"" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } signingConfigs { release { if(System.getenv("KSTOREFILE") != null) storeFile file(System.getenv("KSTOREFILE")) storePassword System.getenv("KSTOREPWD") keyAlias System.getenv("KEYALIAS") keyPassword System.getenv("KEYPWD") } } buildTypes { debug { applicationIdSuffix ".debug" manifestPlaceholders = [appName: "@string/app_name_debug"] } release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release manifestPlaceholders = [appName: "@string/app_name"] } } productFlavors { paid { applicationId "com.farmerbb.taskbar.paid" } free { applicationId "com.farmerbb.taskbar" } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}" compile "com.android.support:design:${SUPPORT_LIBRARY_VERSION}" compile 'com.mikepenz:iconics-core:2.9.0@aar' compile 'com.mikepenz:foundation-icons-typeface:3.0.0.3@aar' compile 'moe.banana:toast-compat:1.0.5' }