build.gradle 491 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id 'sysuigradleproject.android-library-conventions'
  3. }
  4. android {
  5. sourceSets {
  6. main {
  7. java.srcDirs = ['src', 'src_full_lib']
  8. manifest.srcFile 'AndroidManifest.xml'
  9. res.srcDirs = ['res']
  10. }
  11. }
  12. lintOptions {
  13. abortOnError false
  14. }
  15. tasks.withType(JavaCompile) {
  16. options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
  17. }
  18. }
  19. dependencies {
  20. implementation "androidx.core:core"
  21. }