Download File
Download Project
Settings
Line Wrap
Themes
default
ambiance
bespin
dracula
eclipse
material
mbo
mdn-like
neat
solarized dark
ttcn
zenburn
build.gradle
apply plugin: 'com.android.application' ext { /* Version code for *next* release, bump *after* a release is created. */ // 1 or more digits versionMajor = 4 // exactly 1 digit versionMinor = 0 // exactly 2 digits versionBuild = 05 } android { compileSdkVersion 26 buildToolsVersion '26.0.0' defaultConfig { applicationId "com.afwsamples.testdpc" minSdkVersion 21 targetSdkVersion 26 versionCode versionMajor * 1000 + versionMinor * 100 + versionBuild versionName "${versionMajor}.${versionMinor}.${versionBuild}" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { check 'NewApi' abortOnError true xmlReport false textReport true textOutput "stdout" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } repositories { flatDir { dirs 'libs' } maven { url 'https://maven.google.com' } } // Enable lint checking in all build variants. applicationVariants.all { variant -> variant.outputs.each { output -> def lintTask = tasks["lint${variant.name.capitalize()}"] output.assemble.dependsOn lintTask } } } dependencies { api 'com.android.support:preference-v14:26.+' api 'com.android.support:recyclerview-v7:26.+' api 'com.android.support:support-v13:26.+' api 'com.google.android.gms:play-services-safetynet:+' api(name:'setup-wizard-lib-platform-release', ext:'aar') }