GithubHelp home page GithubHelp logo

kungfoo / ergon-gradle-goodies-versioning Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 289 KB

Gradle plugin to autmatically generate version strings from your git history. Has awesome features for android version numbers as well.

License: MIT License

Groovy 64.66% Java 35.34%

ergon-gradle-goodies-versioning's People

Contributors

kungfoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

soloturn

ergon-gradle-goodies-versioning's Issues

Add extension flag to configure `version.properties` inclusion in sourceSet

Adding the version.properties file to the main sourceSet and subsequently including it in the output archive can cause issues with build reproducibility (ex: Java distro it was built with changes, despite resulting bytes being the same).

It would be helpful if the plugin exposed an extension config boolean includeVersionPropertiesInOutput (default: true) that could control this inclusion, as the file does not need to be included in the resulting artifact or sourceSet outputs in order for it to be useful by the versioning plugin itself.

plugin breaks with gradle 7.4 using org.gradle.unsafe.configuration-cache=true property

When I call generateVersionProperties task using gradle 7.4 and org.gradle.unsafe.configuration-cache=true property I get the following errror:

  • What went wrong:
    Configuration cache problems found in this build.

3 problems were found storing the configuration cache, 1 of which seems unique.

See the complete report at file:///Users/andres/work/evergreen/jtt/build/reports/configuration-cache/ddlsdkc1m4kxu973mxrzcst6r/21id0sexdhdyj2xeve3k949x0/configuration-cache-report.html

Invocation of 'Task.project' by task ':generateVersionProperties' at execution time is unsupported.

Configurable version file name

It would be very helpful to configure the name of the version.properties file with a gradle property.

If multiple projects use this plugin, you have multiple version.properties files and if you want to read them from the code, you probably get the wrong file

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.