forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
35 lines (27 loc) · 1.08 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# based on https://github.com/snapcore/snapcraft/blob/master/demos/gradle/snap/snapcraft.yaml
name: jabref
# the version string 4.0-dev is replaced by scripts/run-snapcraft.sh with the current version provided in build.gradle
version: '4.0-dev'
summary: Bibliography manager
icon: buildres/snapcraft/JabRef-icon-256.png
description: JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format.
# only with the following set to stable + strict, we can do a full release
# see https://snapcraft.io/docs/reference/channels
# stable | devel
grade: devel
# see https://snapcraft.io/docs/reference/confinement
# strict | devmode
confinement: strict
apps:
jabref:
command: desktop-launch java -jar $SNAP/jar/JabRef-4.0-dev.jar
plugs: [home, network-bind, x11]
desktop: ../buildres/snapcraft/jabref.desktop
parts:
jabref:
plugin: gradle
source: .
stage-packages: [default-jre, openjfx, x11-utils]
gradle-options: [snapJar]
gradle-output-dir: 'build/releases'
after: [desktop-gtk3]