blob: 1dc66ebb30ae561d11370d3a6a9018599ca115f4 [file] [log] [blame]
apply plugin: 'com.android.application'
dependencies {
compile "com.android.support:support-v4:26.0.1"
compile "com.android.support:support-v13:26.0.1"
compile "com.android.support:cardview-v7:26.0.1"
compile "com.android.support:appcompat-v7:26.0.1"
compile 'com.android.support:design:26.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
compile group: 'com.google.guava', name: 'guava', version: '22.0-android'
}
// The sample build uses multiple directories to
// keep boilerplate and common code separate from
// the main sample code.
List<String> dirs = [
'main'] // main sample code; look here for the interesting stuff.
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
minSdkVersion 26
targetSdkVersion 26
jackOptions {
enabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
main {
dirs.each { dir ->
java.srcDirs "src/${dir}/java"
res.srcDirs "src/${dir}/res"
}
}
androidTest.setRoot('tests')
androidTest.java.srcDirs = ['tests/src']
}
}