Skip to content
Permalink
Browse files

修改项目依赖包

  • Loading branch information
xuexiangjys committed Jun 28, 2019
1 parent 55fb121 commit f7e17fd2a4ce4cada49d51e158e12cd17dd3a8cd
Showing with 8 additions and 1 deletion.
  1. +8 −1 xaop-runtime/build.gradle
@@ -31,7 +31,14 @@ dependencies {
}

android.libraryVariants.all { variant ->
JavaCompile javaCompile = variant.javaCompile
JavaCompile javaCompile = null
if (variant.hasProperty('javaCompileProvider')) {
//gradle 4.10.1 +
TaskProvider<JavaCompile> provider = variant.javaCompileProvider
javaCompile = provider.get()
} else {
javaCompile = variant.hasProperty('javaCompiler') ? variant.javaCompiler : variant.javaCompile
}
javaCompile.doLast {
String[] args = [
"-showWeaveInfo",

0 comments on commit f7e17fd

Please sign in to comment.
You can’t perform that action at this time.