Material Design Team b0496f1572 Make material-design shapes depend on compat only.
In support library we hit the issue, that we run out of fields numbers.
It happens due to R files that duplicate reference on the resources.

PiperOrigin-RevId: 188043913
2018-03-12 12:54:51 -04:00

34 lines
641 B
Groovy

apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
archivesBaseName = getArchivesBaseName(project.name)
version = rootProject.ext.mdcLibraryVersion
dependencies {
api compatibility("annotations")
api compatibility("compat")
}
android {
sourceSets {
main.manifest.srcFile 'AndroidManifest.xml'
main.java.srcDir '.'
main.java.excludes = [
'**/build/**',
]
main.res.srcDirs = [
'res',
'res-public'
]
main.assets.srcDir 'assets'
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: rootProject.ext.mavenRepoUrl)
}
}
}