对框架的使用,来自大神傅媛媛

build.gradle 440B

1234567891011121314151617181920212223242526272829
  1. buildscript {
  2. repositories {
  3. google()
  4. jcenter()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:3.0.0'
  8. classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
  9. }
  10. }
  11. allprojects {
  12. repositories {
  13. google()
  14. jcenter()
  15. maven { url "https://jitpack.io" }
  16. mavenCentral()
  17. }
  18. }
  19. task clean(type: Delete) {
  20. delete rootProject.buildDir
  21. }