Skip to content

Commit 11fdd51

Browse files
Merge branch 'release/0.1.0' into main
2 parents f0e8f03 + adf3691 commit 11fdd51

File tree

13 files changed

+569
-0
lines changed

13 files changed

+569
-0
lines changed

.github/workflows/build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build
2+
3+
on:
4+
[push]
5+
6+
jobs:
7+
build:
8+
name: Build and Test
9+
runs-on: ubuntu-latest
10+
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
11+
env:
12+
BUILD_VERSION: SNAPSHOT
13+
outputs:
14+
artifact-version: ${{ steps.setversion.outputs.version }}
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-java@v1
18+
with:
19+
java-version: 11
20+
server-id: bintray-jcenter
21+
server-username: BINTRAY_USERNAME
22+
server-password: BINTRAY_API_KEY
23+
- uses: actions/cache@v1
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-maven-
29+
- name: Ensure to use tagged version
30+
run: mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
31+
if: startsWith(github.ref, 'refs/tags/')
32+
- name: Export the project version to the job environment and fix it as an ouput of this job
33+
id: setversion
34+
run: |
35+
v=$(mvn help:evaluate "-Dexpression=project.version" -q -DforceStdout)
36+
echo "BUILD_VERSION=${v}" >> $GITHUB_ENV
37+
echo "::set-output name=version::${v}"
38+
shell: bash
39+
- name: Build and Test
40+
run: mvn -B install
41+
- name: Upload .jars
42+
uses: actions/upload-artifact@v2
43+
with:
44+
name: integrations-linux-${{ env.BUILD_VERSION }}
45+
path: target/integrations-linux-*.jar
46+
- name: Build and deploy to jcenter
47+
if: startsWith(github.ref, 'refs/tags/')
48+
run: mvn -B deploy -DskipTests
49+
env:
50+
BINTRAY_USERNAME: cryptobot
51+
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
*.class
2+
*.jar
3+
*.dll
4+
5+
# Maven #
6+
target/
7+
pom.xml.versionsBackup
8+
9+
# IntelliJ Settings Files (https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems) #
10+
.idea/**/workspace.xml
11+
.idea/**/tasks.xml
12+
.idea/dictionaries
13+
.idea/**/libraries/
14+
.idea/.name
15+
.idea/encodings.xml
16+
.idea/compiler.xml
17+
.idea/jarRepositories.xml
18+
*.iml

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integrations-linux.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4" />

pom.xml

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>org.cryptomator</groupId>
7+
<artifactId>integrations-linux</artifactId>
8+
<version>0.1.0</version>
9+
10+
<name>integrations-linux</name>
11+
<description>Provides optional Linux services used by Cryptomator</description>
12+
<url>http://www.cryptomator.org</url>
13+
<scm>
14+
<connection>scm:git:[email protected]:cryptomator/integrations-linux.git</connection>
15+
<developerConnection>scm:git:[email protected]:cryptomator/integrations-linux.git</developerConnection>
16+
<url>[email protected]:cryptomator/integrations-linux.git</url>
17+
</scm>
18+
19+
<developers>
20+
<developer>
21+
<name>Armin Schrenk</name>
22+
<email>[email protected]</email>
23+
<timezone>+1</timezone>
24+
<organization>Skymatic GmbH</organization>
25+
<organizationUrl>http://skymatic.de</organizationUrl>
26+
</developer>
27+
</developers>
28+
29+
<licenses>
30+
<license>
31+
<name>GNU Affero General Public License (AGPL) version 3.0</name>
32+
<url>https://www.gnu.org/licenses/agpl.txt</url>
33+
<distribution>repo</distribution>
34+
</license>
35+
</licenses>
36+
37+
<properties>
38+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39+
40+
<!-- runtime dependencies -->
41+
<api.version>0.1.3</api.version>
42+
<secret-service.version>1.2.1</secret-service.version>
43+
<kdewallet.version>1.1.1</kdewallet.version>
44+
<guava.version>30.0-jre</guava.version>
45+
<slf4j.version>1.7.30</slf4j.version>
46+
</properties>
47+
48+
<repositories>
49+
<repository>
50+
<id>bintray</id>
51+
<name>bintray</name>
52+
<url>https://jcenter.bintray.com</url>
53+
</repository>
54+
</repositories>
55+
56+
<distributionManagement>
57+
<repository>
58+
<id>bintray-jcenter</id>
59+
<url>https://api.bintray.com/maven/cryptomator/maven/integrations-linux/;publish=1</url>
60+
</repository>
61+
</distributionManagement>
62+
63+
<dependencies>
64+
<dependency>
65+
<groupId>org.cryptomator</groupId>
66+
<artifactId>integrations-api</artifactId>
67+
<version>${api.version}</version>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.slf4j</groupId>
71+
<artifactId>slf4j-api</artifactId>
72+
<version>${slf4j.version}</version>
73+
</dependency>
74+
<dependency>
75+
<groupId>com.google.guava</groupId>
76+
<artifactId>guava</artifactId>
77+
<version>${guava.version}</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>de.swiesend</groupId>
81+
<artifactId>secret-service</artifactId>
82+
<version>${secret-service.version}</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.purejava</groupId>
86+
<artifactId>kdewallet</artifactId>
87+
<version>${kdewallet.version}</version>
88+
</dependency>
89+
</dependencies>
90+
91+
<build>
92+
93+
<plugins>
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-compiler-plugin</artifactId>
97+
<version>3.8.0</version>
98+
<configuration>
99+
<release>11</release>
100+
</configuration>
101+
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-surefire-plugin</artifactId>
105+
<version>2.22.2</version>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-enforcer-plugin</artifactId>
110+
<version>3.0.0-M3</version>
111+
<executions>
112+
<execution>
113+
<id>check-preconditions</id>
114+
<goals>
115+
<goal>enforce</goal>
116+
</goals>
117+
<configuration>
118+
<rules>
119+
<requireOS>
120+
<family>unix</family>
121+
<name>Linux</name>
122+
<message>This build configuration requires Linux.</message>
123+
</requireOS>
124+
</rules>
125+
</configuration>
126+
</execution>
127+
</executions>
128+
</plugin>
129+
<plugin>
130+
<artifactId>maven-source-plugin</artifactId>
131+
<version>3.2.0</version>
132+
<executions>
133+
<execution>
134+
<id>attach-sources</id>
135+
<goals>
136+
<goal>jar-no-fork</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
</plugin>
141+
<plugin>
142+
<artifactId>maven-javadoc-plugin</artifactId>
143+
<version>3.2.0</version>
144+
<executions>
145+
<execution>
146+
<id>attach-javadocs</id>
147+
<goals>
148+
<goal>jar</goal>
149+
</goals>
150+
</execution>
151+
</executions>
152+
<configuration>
153+
<quiet>true</quiet>
154+
<release>11</release>
155+
<tags>
156+
<!-- workaround for "unknown tag: implNote", see https://blog.codefx.org/java/new-javadoc-tags/#Maven -->
157+
<tag>
158+
<name>apiNote</name>
159+
<placement>a</placement>
160+
<head>API Note:</head>
161+
</tag>
162+
<tag>
163+
<name>implSpec</name>
164+
<placement>a</placement>
165+
<head>Implementation Requirements:</head>
166+
</tag>
167+
<tag>
168+
<name>implNote</name>
169+
<placement>a</placement>
170+
<head>Implementation Note:</head>
171+
</tag>
172+
<tag>
173+
<name>param</name>
174+
</tag>
175+
<tag>
176+
<name>return</name>
177+
</tag>
178+
<tag>
179+
<name>throws</name>
180+
</tag>
181+
<tag>
182+
<name>since</name>
183+
</tag>
184+
<tag>
185+
<name>version</name>
186+
</tag>
187+
<tag>
188+
<name>serialData</name>
189+
</tag>
190+
<tag>
191+
<name>see</name>
192+
</tag>
193+
</tags>
194+
</configuration>
195+
</plugin>
196+
</plugins>
197+
</build>
198+
</project>

0 commit comments

Comments
 (0)