Last active
April 8, 2018 06:11
-
-
Save atearsan/1eb6e4efdfc37f50b48eefbdce5eab24 to your computer and use it in GitHub Desktop.
Revisions
-
atearsan revised this gist
Apr 8, 2018 . No changes.There are no files selected for viewing
-
atearsan revised this gist
Apr 8, 2018 . No changes.There are no files selected for viewing
-
atearsan revised this gist
Apr 8, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ 根目录 build.gradle 添加如下配置 allprojects { -
atearsan created this gist
Apr 8, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ 根目录 ```build.gradle``` 添加如下配置 allprojects { gradle.taskGraph.whenReady { tasks.each { task -> if (task.name.contains("Test") || task.name.contains("mockableAndroidJar") || task.name.contains("Lint") || task.name.contains("Aidl") || task.name.contains("Ndk") || task.name.contains("Jni")) { task.enabled = false } } } }