travisc 5d3098956c Update gradle to 4.1 and Android gradle plugin to 3.0.
This changes all our dependencies to use the 3.0-style dep types (api and implementation). Generally it just makes everything api unless known otherwise, but moving to implementation where possible in the future would be desirable.

PiperOrigin-RevId: 177391618
2018-01-11 10:19:47 -05:00

30 lines
687 B
Groovy

apply plugin: 'com.android.application'
dependencies {
api compatibility("annotations")
api compatibility("v7/appcompat")
api project(fromPath("lib"))
api project(fromPath("testing/java/android/support/design/testapp/base"))
api project(fromPath("testing/java/android/support/design/testapp/custom"))
}
android {
sourceSets {
main.manifest.srcFile 'AndroidManifest.xml'
main.java.srcDirs = [ '.' ]
main.java.excludes = [
'**/build/**',
]
// Only include things in this directory, not subdirectories
main.java.includes = [ '*.java' ]
main.res.srcDirs = [ 'res' ]
}
buildTypes {
debug {
pseudoLocalesEnabled true
}
}
}