build.gradle 471 B

12345678910111213141516171819202122232425262728
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.1.2'
  9. }
  10. }
  11. allprojects {
  12. repositories {
  13. jcenter()
  14. google()
  15. }
  16. }
  17. allprojects {
  18. tasks.withType(JavaCompile) {
  19. options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
  20. }
  21. }