Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dist target doesn't include top level directory #7

Open
ar opened this issue Feb 7, 2023 · 0 comments
Open

dist target doesn't include top level directory #7

ar opened this issue Feb 7, 2023 · 0 comments

Comments

@ar
Copy link
Member

ar commented Feb 7, 2023

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.

aVolpe added a commit to aVolpe/jpos-gradle-plugin that referenced this issue Sep 28, 2023
The plugin can now be configured using a 'jpos' directive in the .gradle file:

```groovyjpos {
    target = "devel"
    addGitRevision = true
    addBuildTime = true
    archiveJarName = "${project_name}-${version}.jar"
    archiveWarName = "${project_name}-${version}.war"
    installDir = build/install/${project_name}
    distDir = src/dist
}
```

A non trivial refactor of the plugin was made to ensure that those properties
can be configured and used as described in the README.

This commit also makes this plugin compatible with gradle 8, so it fixes jpos#3

The configurability of git revision data also fixes jpos#5.

And it can be a workaround for jpos#7 using a different distDir.

Signed-off-by: Arturo Volpe <[email protected]>
aVolpe added a commit to aVolpe/jpos-gradle-plugin that referenced this issue Sep 28, 2023
The plugin can now be configured using a 'jpos' directive in the .gradle file:

```groovy
jpos {
    target = "devel"
    addGitRevision = true
    addBuildTime = true
    archiveJarName = "${project_name}-${version}.jar"
    archiveWarName = "${project_name}-${version}.war"
    installDir = build/install/${project_name}
    distDir = src/dist
}
```

A non trivial refactor of the plugin was made to ensure that those properties
can be configured and used as described in the README.

This commit also makes this plugin compatible with gradle 8, so it fixes jpos#3

The configurability of git revision data also fixes jpos#5.

And it can be a workaround for jpos#7 using a different distDir.

Signed-off-by: Arturo Volpe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant