build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.4.0'
  4. ext.application_id = "com.quansu.heifengwuliu"
  5. ext.application_version_code = 1
  6. ext.application_version_name = "1.0.1"
  7. ext.support_version = "28.0.0"
  8. ext.min_sdk_version = 23
  9. ext.target_sdk_version = 28
  10. ext.compile_sdk_version = 28
  11. repositories {
  12. google()
  13. jcenter()
  14. mavenCentral() // add repository
  15. flatDir {
  16. dirs 'libs'
  17. }
  18. }
  19. dependencies {
  20. classpath 'com.android.tools.build:gradle:4.0.1'
  21. classpath 'com.billy.android:cc-register:1.1.2'
  22. // NOTE: Do not place your application dependencies here; they belong
  23. // in the individual module build.gradle files
  24. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  25. }
  26. }
  27. allprojects {
  28. repositories {
  29. google()
  30. jcenter()
  31. mavenCentral() // add repository
  32. maven { url "https://jitpack.io" }
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }