Giter Club home page Giter Club logo

Comments (8)

hi-dhl avatar hi-dhl commented on July 28, 2024

@wankey 已经修复,辛苦,请更新代码,在试一下

from composingbuilds-vs-buildsrc.

hi-dhl avatar hi-dhl commented on July 28, 2024

@wankey 注意这段话includeBuild("../versionPlugin") ,versionPlugin 插件,不能放到 project 下面,应该放到 project 以外的目录,或者和 project 同级目录,如下所示:

image

from composingbuilds-vs-buildsrc.

wankey avatar wankey commented on July 28, 2024

已正常

from composingbuilds-vs-buildsrc.

MankinChung avatar MankinChung commented on July 28, 2024

@wankey 注意这段话includeBuild("../versionPlugin") ,versionPlugin 插件,不能放到 project 下面,应该放到 project 以外的目录,或者和 project 同级目录,如下所示:

image

有个问题,放在项目外面,不在版本管控范围内了。新项目还可以以父目录作为根目录,但旧项目的话就改不了了

from composingbuilds-vs-buildsrc.

hi-dhl avatar hi-dhl commented on July 28, 2024

有点不太明白,ComposingBuilds 在多项目更具有优势,新旧项目引用它应该直接就可以用了, 你说的 「不在版本管控范围内了」 这句话,你指的库的版本管理吗?

from composingbuilds-vs-buildsrc.

MankinChung avatar MankinChung commented on July 28, 2024

有点不太明白,ComposingBuilds 在多项目更具有优势,新旧项目引用它应该直接就可以用了, 你说的 「不在版本管控范围内了」 这句话,你指的库的版本管理吗?

我的意思是,要把VersionPlugin(主要是Versions)和项目一起加入git管理,做统一的版本管控。但是旧项目的话,是以项目路径作为git根目录的,项目外的VersionPlugin就不在git管理范围了

from composingbuilds-vs-buildsrc.

hi-dhl avatar hi-dhl commented on July 28, 2024

@MankinChung 两个方案:
方案一: VersionPlugin 可以放在项目下,可以正常编译, 也不会影响 Jenkins 打包,不过clean 或者 make 的时候会提示 “not part of the build defined by settings file”
方案二:将 VersionPlugin 当做一个 git 去管理就好了,旧项目可以直接引入,对项目本身不会有影响

from composingbuilds-vs-buildsrc.

MankinChung avatar MankinChung commented on July 28, 2024

@hi-dhl 嗯,方案二的submodule可以完美解决

from composingbuilds-vs-buildsrc.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.