META-INF.jreleaser.templates.flat-binary.snap.snap.snapcraft.yaml.tpl Maven / Gradle / Ivy
# {{jreleaserCreationStamp}}
name: {{snapPackageName}}
version: "{{projectVersion}}"
summary: {{projectDescription}}
description: {{projectLongDescription}}
grade: {{snapGrade}}
confinement: {{snapConfinement}}
base: {{snapBase}}
type: app
{{#hasArchitectures}}
architectures:
{{#snapArchitectures}}
- build-on: {{buildOn}}
{{#hasRunOn}}run-on: {{runOn}}{{/hasRunOn}}
{{#ignoreError}}build-error: ignore{{/ignoreError}}
{{/snapArchitectures}}
{{/hasArchitectures}}
apps:
{{distributionExecutableName}}:
command: {{distributionExecutableUnix}}
{{#snapHasLocalPlugs}}
plugs:
{{#snapLocalPlugs}}
- {{.}}
{{/snapLocalPlugs}}
{{/snapHasLocalPlugs}}
{{#snapHasLocalSlots}}
slots:
{{#snapLocalSlots}}
- {{.}}
{{/snapLocalSlots}}
{{/snapHasLocalSlots}}
{{#snapHasPlugs}}
plugs:
{{#snapPlugs}}
{{name}}:
{{#attrs}}
{{key}}: {{value}}
{{/attrs}}
{{#hasReads}}
read:
{{#reads}}
- {{.}}
{{/reads}}
{{/hasReads}}
{{#hasWrites}}
write:
{{#writes}}
- {{.}}
{{/writes}}
{{/hasWrites}}
{{/snapPlugs}}
{{/snapHasPlugs}}
{{#snapHasSlots}}
slots:
{{#snapSlots}}
{{name}}:
{{#attrs}}
{{key}}: {{value}}
{{/attrs}}
{{#hasReads}}
reads:
{{#reads}}
- {{.}}
{{/reads}}
{{/hasReads}}
{{#hasWrites}}
writes:
{{#writes}}
- {{.}}
{{/writes}}
{{/hasWrites}}
{{/snapSlots}}
{{/snapHasSlots}}
parts:
{{distributionExecutableName}}:
plugin: dump
source: {{distributionUrl}}
source-checksum: sha256/{{distributionChecksumSha256}}
stage-packages:
- curl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy