Comments (8)
@wankey 已经修复,辛苦,请更新代码,在试一下
from composingbuilds-vs-buildsrc.
@wankey 注意这段话includeBuild("../versionPlugin")
,versionPlugin 插件,不能放到 project 下面,应该放到 project 以外的目录,或者和 project 同级目录,如下所示:
from composingbuilds-vs-buildsrc.
已正常
from composingbuilds-vs-buildsrc.
@wankey 注意这段话
includeBuild("../versionPlugin")
,versionPlugin 插件,不能放到 project 下面,应该放到 project 以外的目录,或者和 project 同级目录,如下所示:
有个问题,放在项目外面,不在版本管控范围内了。新项目还可以以父目录作为根目录,但旧项目的话就改不了了
from composingbuilds-vs-buildsrc.
有点不太明白,ComposingBuilds 在多项目更具有优势,新旧项目引用它应该直接就可以用了, 你说的 「不在版本管控范围内了」 这句话,你指的库的版本管理吗?
from composingbuilds-vs-buildsrc.
有点不太明白,ComposingBuilds 在多项目更具有优势,新旧项目引用它应该直接就可以用了, 你说的 「不在版本管控范围内了」 这句话,你指的库的版本管理吗?
我的意思是,要把VersionPlugin(主要是Versions)和项目一起加入git管理,做统一的版本管控。但是旧项目的话,是以项目路径作为git根目录的,项目外的VersionPlugin就不在git管理范围了
from composingbuilds-vs-buildsrc.
@MankinChung 两个方案:
方案一: VersionPlugin 可以放在项目下,可以正常编译, 也不会影响 Jenkins 打包,不过clean 或者 make 的时候会提示 “not part of the build defined by settings file”
方案二:将 VersionPlugin 当做一个 git 去管理就好了,旧项目可以直接引入,对项目本身不会有影响
from composingbuilds-vs-buildsrc.
@hi-dhl 嗯,方案二的submodule可以完美解决
from composingbuilds-vs-buildsrc.
Related Issues (12)
- Unresolved reference: Plugin HOT 1
- 可以放在同一目录 HOT 1
- 无法自动补全 无法跳转引用 HOT 5
- 一定要用dsl吗,用apply plugin会提示id找不到,用plugin{},无论放哪都会提示位置错误 HOT 2
- 使用Composing builds的缓存问题 HOT 4
- ComposingBuilds缺点补充 HOT 48
- 是否有方法可以统一为每个模块引入插件 HOT 4
- VersionPlugin放外面,多项目引用的问题 HOT 1
- composing-build文件夹存放问题[讨论] HOT 6
- 依赖库提示更新的问题 HOT 2
- common_config.gradle添加的时候出现问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composingbuilds-vs-buildsrc.