Home | History | Annotate | Download | only in SupportDesignDemos
      1 apply plugin: 'com.android.application'
      2 
      3 dependencies {
      4     implementation project(':design')
      5 }
      6 
      7 android {
      8     compileSdkVersion project.ext.currentSdk
      9 
     10     defaultConfig {
     11         minSdkVersion 14
     12         targetSdkVersion project.ext.currentSdk
     13         vectorDrawables.useSupportLibrary = true
     14     }
     15 
     16     sourceSets {
     17         main.manifest.srcFile 'AndroidManifest.xml'
     18         main.java.srcDirs = ['src']
     19         main.res.srcDirs = ['res']
     20     }
     21 
     22     signingConfigs {
     23         debug {
     24             // Use a local debug keystore to avoid build server issues.
     25             storeFile project.rootProject.init.debugKeystore
     26         }
     27     }
     28 
     29     lintOptions {
     30         abortOnError true
     31         check 'NewApi'
     32     }
     33 
     34     compileOptions {
     35         sourceCompatibility JavaVersion.VERSION_1_8
     36         targetCompatibility JavaVersion.VERSION_1_8
     37     }
     38 }
     39 
     40