Visit http://jpos.org/learn.
Visit http://jpos.org/resources for additional information.
Affero GPLv3 Visit http://jpos.org/license.
Commercial-friendly licensing available: Contact form.
jPOS Gradle Plugin
License: GNU Affero General Public License v3.0
Visit http://jpos.org/learn.
Visit http://jpos.org/resources for additional information.
Affero GPLv3 Visit http://jpos.org/license.
Commercial-friendly licensing available: Contact form.
dist
target creates a flat structure and doesn't include a top level directory with the project and version name as we used to produce using jpos-app.gradle
script.
The plugin makes the jar
task to depend on createGitRevision
task, that fails if this is not a git repository, the build even fails after performing a git init
with a NoHeadException
.
There are many options for this:
The easier to implement are 2 and 3.
I don't know if there is an easy way of asking jGit
about whether the project is in a git repository or not, without using hard coded literals for implementing 1. But also for this we would need to ask git specific questions from the JPOSPlugin
class, of course we can relay that to a GitRevisonTask
method.
When running the test task, the following warning is printed:
- Gradle detected a problem with the following location: 'repo/modules/module/build/resources/main'. Reason: Task ':modules:module:compileTestJava' uses this output of task ':modules:module:createBuildTimestamp' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: 'repo/modules/module/build/resources/main'. Reason: Task ':modules:module:compileTestJava' uses this output of task ':modules:module:createGitRevision' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
We can use this plugin as an example to how to fix those warnings: https://github.com/n0mer/gradle-git-properties/blob/master/src/main/groovy/com/gorylenko/GitPropertiesPlugin.groovy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.