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

[assemble] Let the name of the nativeImage directory be configurable #272

Closed
aalmiray opened this issue Jul 7, 2021 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aalmiray
Copy link
Member

aalmiray commented Jul 7, 2021

For a project configured as

project:
  version: 1.0.0-SNAPSHOT
  description: Sample application
  longDescription: Sample application
  website: https://github.com/aalmiray/app
  authors:
    - Andres Almiray
  license: Apache-2.0
  java:
    groupId: com.acme
    version: 8
  extraProperties:
    inceptionYear: 2021

distributions:
  app:
    artifacts:
      - path: target/distributions/{{distributionName}}/{{distributionName}}-{{projectVersion}}.zip

assemble:
  nativeImage:
    app-native:
      active: always
      exported: false
      executable: app
      graal: 
        path: /Users/aalmiray/.sdkman/candidates/java/21.1.0.r11-grl
      mainJar: 
        path: 'target/app-{{projectVersion}}.jar'

The assembled artifact will be named app-link-1.0.0-SNAPSHOT.zip, with a top level directory app-link-1.0.0-SNAPSHOT (once #271 is fixed). Both filename and top level directory could have a different name.

Add a property to specify this name.

@aalmiray aalmiray added the enhancement New feature or request label Jul 7, 2021
@aalmiray aalmiray self-assigned this Jul 7, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 7, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 7, 2021
@aalmiray aalmiray added this to the v0.6.0 milestone Jul 8, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 10, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 14, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 15, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 25, 2021
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant