buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
}

subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "25.4.0"
}
}
}
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2021-10-05
  • 2021-11-23
  • 2021-09-30
  • 2021-08-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-01-12
  • 2021-06-13
  • 2021-04-01
相关资源
相似解决方案