travisc ab2fec6da4 Move lib/src/ to lib/java/, and lib/jvmtests/javatests/ to lib/javatests/.
Bazel is happier if Java/Java test roots are named 'java' and 'javatests', and
this will mean that once we create a BUILD file for
android/support/design/{widget,internal}/ we'll no longer need a custom package
specified in our build (which tends to cause build problems that manifest quite
weirdly). This commit doesn't attempt to refactor the build at all yet, and is
just a pure move.

PiperOrigin-RevId: 178060739
2018-01-11 10:50:18 -05:00

30 lines
590 B
Groovy

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