GradleTask:Gradle存储库includeBuild

上传者: 42160425 | 上传时间: 2022-09-18 22:43:08 | 文件大小: 184KB | 文件类型: ZIP
GradleTask 功能介绍 repo专门用于多仓库App混合编译使用,通过更改项目内部的替代,将相邻的aar替换成本地源代码的形式参与项目编译替代,同时内部使用的是渐变设置,包括Build,所以项目内部原先的逻辑不需要变更,可以直接使用。 repo插件同时项目会自动帮助各位去同步远端的仓库代码,如果仓库branch没有发生变化则不会同步代码。 dep插件则是负责将项目内部的依赖版本更换成早期版本,同时进行版本号策略清洗。 使用简介 :项目的settings.gradle ,记住是settings.gradle不是build.gradle 添加以下代码 buildscript {

文件下载

资源详情

[{"title":"( 84 个子文件 184KB ) GradleTask:Gradle存储库includeBuild","children":[{"title":"GradleTask-master","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"template.py <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"plugin-dep","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"META-INF","children":[{"title":"gradle-plugins","children":[{"title":"dep-plugin.properties <span style='color:#111;'> 55B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"kronos","children":[{"title":"plugin","children":[{"title":"dep","children":[{"title":"DepExtension.kt <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"PluginLogger.kt <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"KronosPlugin.kt <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"task","children":[{"title":"ApplyRemoteDepTask.kt <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"CmdExecuteException.kt <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"Utils.kt <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"GitUtil.kt <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"CmdUtil.kt <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"nexus.properties <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"upload_bintray.gradle <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 592B </span>","children":null,"spread":false}],"spread":true},{"title":"buildSrc","children":[{"title":".gitignore <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 647B </span>","children":null,"spread":false}],"spread":true},{"title":"bbrepo <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"repo.xml <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"plugin-repo","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"META-INF","children":[{"title":"gradle-plugins","children":[{"title":"repo-setting.properties <span style='color:#111;'> 62B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"kronos","children":[{"title":"plugin","children":[{"title":"repo","children":[{"title":"model","children":[{"title":"ModuleInfo.kt <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"SubstituteModule.kt <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"RepoInfo.kt <span style='color:#111;'> 327B </span>","children":null,"spread":false}],"spread":false},{"title":"RepoLogger.kt <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"RepoSettingsPlugin.kt <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"parse","children":[{"title":"RepoInflater.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"RepoInflateImpl.java <span style='color:#111;'> 6.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"RepoConstants.java <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"CmdExecuteException.kt <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"GitUtil.kt <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"CmdUtil.kt <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"nexus.properties <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"upload_bintray.gradle <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 592B </span>","children":null,"spread":false}],"spread":true},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"kronos","children":[{"title":"sample","children":[{"title":"gradle","children":[{"title":"ExampleUnitTest.kt <span style='color:#111;'> 348B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"kronos","children":[{"title":"sample","children":[{"title":"gradle","children":[{"title":"ExampleInstrumentedTest.kt <span style='color:#111;'> 675B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"res","children":[{"title":"navigation","children":[{"title":"nav_graph.xml <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 412B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 10.40KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 16.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 66B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.72KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 11.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"fragment_second.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"content_main.xml <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"fragment_first.xml <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"kronos","children":[{"title":"sample","children":[{"title":"gradle","children":[{"title":"SecondFragment.kt <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"MainActivity.kt <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"FirstFragment.kt <span style='color:#111;'> 976B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 831B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"codeStyleConfig.xml <span style='color:#111;'> 142B </span>","children":null,"spread":false}],"spread":false},{"title":"misc.xml <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"jarRepositories.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 244B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"depconfig.properties <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 646B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明