Skip to content

Commit 1af1186

Browse files
committed
Merge branch 'release/1.3.2'
2 parents f345c5b + d5db657 commit 1af1186

File tree

2 files changed

+57
-8
lines changed

2 files changed

+57
-8
lines changed

pom.xml

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>org.cryptomator</groupId>
77
<artifactId>integrations-mac</artifactId>
8-
<version>1.3.1</version>
8+
<version>1.3.2</version>
99

1010
<name>Cryptomator Integrations for macOS</name>
1111
<description>Provides optional macOS services used by Cryptomator</description>
@@ -36,8 +36,8 @@
3636
<slf4j.version>2.0.17</slf4j.version>
3737

3838
<!-- test dependencies -->
39-
<junit.jupiter.version>5.12.0</junit.jupiter.version>
40-
<mockito.version>5.15.2</mockito.version>
39+
<junit.jupiter.version>5.12.1</junit.jupiter.version>
40+
<mockito.version>5.16.1</mockito.version>
4141

4242
<!-- build plugin dependencies -->
4343
<dependency-check.version>12.1.0</dependency-check.version>
@@ -150,6 +150,7 @@
150150
<version>3.5.0</version>
151151
<executions>
152152
<execution>
153+
<id>xcode-build-intel</id>
153154
<goals>
154155
<goal>exec</goal>
155156
</goals>
@@ -164,15 +165,62 @@
164165
<argument>Integrations</argument>
165166
<argument>-configuration</argument>
166167
<argument>Release</argument>
168+
<argument>-arch</argument>
169+
<argument>x86_64</argument>
167170
<argument>-archivePath</argument>
168-
<argument>${project.build.directory}/integrations.xcarchive</argument>
171+
<argument>${project.build.directory}/integrations-x86_64.xcarchive</argument>
169172
<argument>-quiet</argument>
170173
<argument>clean</argument>
171174
<argument>archive</argument>
172175
<argument>JAVA_HOME="${java.home}"</argument>
173176
</arguments>
174177
</configuration>
175178
</execution>
179+
<execution>
180+
<id>xcode-build-arm</id>
181+
<goals>
182+
<goal>exec</goal>
183+
</goals>
184+
<phase>compile</phase>
185+
<configuration>
186+
<executable>xcodebuild</executable>
187+
<workingDirectory>${project.basedir}/src/main/native</workingDirectory>
188+
<arguments>
189+
<argument>-project</argument>
190+
<argument>Integrations.xcodeproj</argument>
191+
<argument>-scheme</argument>
192+
<argument>Integrations</argument>
193+
<argument>-configuration</argument>
194+
<argument>Release</argument>
195+
<argument>-arch</argument>
196+
<argument>arm64</argument>
197+
<argument>-archivePath</argument>
198+
<argument>${project.build.directory}/integrations-arm64.xcarchive</argument>
199+
<argument>-quiet</argument>
200+
<argument>clean</argument>
201+
<argument>archive</argument>
202+
<argument>JAVA_HOME="${java.home}"</argument>
203+
</arguments>
204+
</configuration>
205+
</execution>
206+
<execution>
207+
<id>build-universal-binary</id>
208+
<goals>
209+
<goal>exec</goal>
210+
</goals>
211+
<phase>compile</phase>
212+
<configuration>
213+
<executable>lipo</executable>
214+
<workingDirectory>${project.build.directory}</workingDirectory>
215+
<arguments>
216+
<argument>-create</argument>
217+
<argument>integrations-x86_64.xcarchive/Products/usr/local/lib/libIntegrations.dylib</argument>
218+
<argument>integrations-arm64.xcarchive/Products/usr/local/lib/libIntegrations.dylib</argument>
219+
<argument>-output</argument>
220+
<argument>libIntegrations.dylib</argument>
221+
</arguments>
222+
</configuration>
223+
</execution>
176224
</executions>
177225
</plugin>
178226
<plugin>
@@ -188,9 +236,9 @@
188236
<outputDirectory>${project.build.directory}/classes</outputDirectory>
189237
<resources>
190238
<resource>
191-
<directory>${project.build.directory}/integrations.xcarchive/Products/usr/local/lib</directory>
239+
<directory>${project.build.directory}</directory>
192240
<includes>
193-
<include>*.dylib</include>
241+
<include>libIntegrations.dylib</include>
194242
</includes>
195243
</resource>
196244
</resources>
@@ -201,7 +249,7 @@
201249
<plugin>
202250
<groupId>org.apache.maven.plugins</groupId>
203251
<artifactId>maven-surefire-plugin</artifactId>
204-
<version>3.5.2</version>
252+
<version>3.5.3</version>
205253
</plugin>
206254
<plugin>
207255
<artifactId>maven-source-plugin</artifactId>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
org.cryptomator.macos.keychain.displayName=macOS Keychain
1+
org.cryptomator.macos.keychain.displayName=macOS Keychain
2+
org.cryptomator.macos.keychain.touchIdDisplayName=Touch ID

0 commit comments

Comments
 (0)