build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext{
  4. kotlin_version = '1.3.21'
  5. anko_version='0.10.5'
  6. fuel_version='1.15.0'
  7. lifecycle_version = "1.1.1"
  8. support_library_version='26.1.0'
  9. fablic_version = '1.30.0'
  10. }
  11. repositories {
  12. google()
  13. jcenter()
  14. maven { url 'https://maven.fabric.io/public'}
  15. maven { url "https://jitpack.io" }
  16. }
  17. dependencies {
  18. classpath 'com.android.tools.build:gradle:3.6.2'
  19. classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
  20. // NOTE: Do not place your application dependencies here; they belong
  21. // in the individual module build.gradle files
  22. classpath "io.fabric.tools:gradle:$fablic_version"
  23. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  24. }
  25. }
  26. allprojects {
  27. repositories {
  28. jcenter()
  29. maven { url 'https://maven.fabric.io/public'}
  30. maven { url 'https://jitpack.io' }
  31. google()
  32. }
  33. // 컴파일 옵션 추가
  34. gradle.projectsEvaluated {
  35. tasks.withType(JavaCompile) {
  36. options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
  37. }
  38. }
  39. }
  40. task clean(type: Delete) {
  41. delete rootProject.buildDir
  42. }