{"action":"opened","issue":{"url":"https://api.github.com/repos/Blankj/AucFrameTemplate/issues/2","repository_url":"https://api.github.com/repos/Blankj/AucFrameTemplate","labels_url":"https://api.github.com/repos/Blankj/AucFrameTemplate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Blankj/AucFrameTemplate/issues/2/comments","events_url":"https://api.github.com/repos/Blankj/AucFrameTemplate/issues/2/events","html_url":"https://github.com/Blankj/AucFrameTemplate/issues/2","id":480531809,"node_id":"MDU6SXNzdWU0ODA1MzE4MDk=","number":2,"title":"你好，最直接的就是 feature 下的所有模块的 build.gradle 都是空空如也？","user":{"login":"cervy","id":8372633,"node_id":"MDQ6VXNlcjgzNzI2MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8372633?v=4","gravatar_id":"","url":"https://api.github.com/users/cervy","html_url":"https://github.com/cervy","followers_url":"https://api.github.com/users/cervy/followers","following_url":"https://api.github.com/users/cervy/following{/other_user}","gists_url":"https://api.github.com/users/cervy/gists{/gist_id}","starred_url":"https://api.github.com/users/cervy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cervy/subscriptions","organizations_url":"https://api.github.com/users/cervy/orgs","repos_url":"https://api.github.com/users/cervy/repos","events_url":"https://api.github.com/users/cervy/events{/privacy}","received_events_url":"https://api.github.com/users/cervy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-14T07:49:17Z","updated_at":"2019-08-14T07:49:17Z","closed_at":null,"author_association":"NONE","body":"你好，假如pkg或mock需要各自单独的依赖， 请问 是要手动把所有依赖都下沉到base module里吗，还是通过 您的以下脚本自动依赖了isApply=true的库啊？\r\n/**\r\n         * 根据 depConfig 生成 dep\r\n         */\r\n        private static generateDep(Gradle gradle) {\r\n            def config = getDepConfigByFilter(new DepConfigFilter() {\r\n                @Override\r\n                boolean accept(String name, DepConfig config) {\r\n                    if (config.useLocal) {// 如果使用的是本地模块，那么把它转化为 project\r\n                        config.dep = gradle.rootProject.findProject(config.localPath)\r\n                    } else {// 如果是远端依赖，那就直接使用远端依赖即可\r\n                        config.dep = config.remotePath\r\n                    }\r\n                    return true\r\n                }\r\n            })\r\n            GLog.l(\"generateDep = ${GLog.object2String(config)}\")\r\n        }\r\n因为只看到这段改了下路径并没有调用 api/implementation，对groovy不太熟，所以产生了以上疑惑。多谢解惑~"}}
{"actor":{"display_login":"cervy"}}