apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' archivesBaseName = getArchivesBaseName(project.name) version = rootProject.ext.mdcLibraryVersion dependencies { implementation compatibility("appcompat") implementation project(fromPath("lib/java/com/google/android/material/animation")) implementation project(fromPath("lib/java/com/google/android/material/appbar")) implementation project(fromPath("lib/java/com/google/android/material/bottomsheet")) implementation project(fromPath("lib/java/com/google/android/material/expandable")) implementation project(fromPath("lib/java/com/google/android/material/internal")) implementation project(fromPath("lib/java/com/google/android/material/shadow")) implementation project(fromPath("lib/java/com/google/android/material/resources")) implementation project(fromPath("lib/java/com/google/android/material/ripple")) implementation project(fromPath("lib/java/com/google/android/material/shape")) implementation project(fromPath("lib/java/com/google/android/material/stateful")) } 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) } } }