提交 c27ba55a 编写于 作者: B Blankj

see 06/04 log

上级 88c6d76c
......@@ -9,4 +9,4 @@
.externalNativeBuild
/apk
*.phrof
/maven
/busMaven
......@@ -19,7 +19,7 @@
#org.gradle.jvmargs=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8
org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.parallel=true
\ No newline at end of file
......@@ -25,10 +25,10 @@ gradle.ext {
plugin_bintray : new DepConfig("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"),// 上传到 bintray
plugin_traute : new DepConfig("tech.harmonysoft:traute-gradle:1.1.10"),// 注解转非空判断
plugin_bus : new DepConfig(false/*是否本地调试*/, "", "com.blankj:bus-gradle-plugin:1.8", true),
plugin_bus : new DepConfig(true/*是否本地调试*/, "", "com.blankj:bus-gradle-plugin:1.8", true),
buildSrc : new DepConfig(":buildSrc"),
bus_gradle_plugin : new DepConfig(":bus-gradle-plugin", false),
bus_gradle_plugin : new DepConfig(":bus-gradle-plugin", true),
launcher_app : new DepConfig(":launcher:app"),
launcher_pkg : new DepConfig(":launcher:pkg"),
lib_base : new DepConfig(":lib:base"),
......
......@@ -79,6 +79,7 @@ class CustomListener implements BuildListener {
gradle.depConfig.each { name, config ->
if (!config.isApply) return
if (config.useLocal) {
if (config.localPath == "") return
gradle.ext.dep[name] = gradle.rootProject.findProject(config.localPath)
} else {
gradle.ext.dep[name] = config.remotePath
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册