-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
98 lines (93 loc) · 4.39 KB
/
pom.xml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.freya02</groupId>
<artifactId>Slingshot</artifactId>
<version>0.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>11</maven.compiler.release>
<javafx.version>15-ea+gvm20</javafx.version>
<gluonfx.plugin.version>1.0.14</gluonfx.plugin.version>
<mainClassName>com.freya02.slingshot.Main</mainClassName>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.freya02.slingshot.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>${gluonfx.plugin.version}</version>
<configuration>
<reflectionList>
<list>com.freya02.slingshot.SlingshotController</list>
</reflectionList>
<mainClass>${mainClassName}</mainClass>
<nativeImageArgs>
<nativeImageArg>-H:-CheckToolchain</nativeImageArg>
<nativeImageArg>-H:ReflectionConfigurationFiles="${project.basedir}\SVMFX\Configs\reflect-config.json","${project.basedir}\SVMFX\Configs\reflect-config-2.json"</nativeImageArg>
<nativeImageArg>-H:ResourceConfigurationFiles="${project.basedir}\SVMFX\Configs\resource-config.json"</nativeImageArg>
<nativeImageArg>-H:JNIConfigurationFiles="${project.basedir}\SVMFX\Configs\jni-config.json"</nativeImageArg>
<nativeImageArg>--initialize-at-build-time=com.freya02.slingshot.AOT,com.freya02.slingshot.auth.AuthController,com.freya02.ui.ImageUtil,com.freya02.misc.DllLoader</nativeImageArg>
<nativeImageArg>--allow-incomplete-classpath</nativeImageArg>
</nativeImageArgs>
<javafxStaticSdkVersion>${javafx.version}</javafxStaticSdkVersion>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.freya02</groupId>
<artifactId>Library6</artifactId>
<version>1.3.0</version>
<exclusions>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</exclusion>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.dropbox.core</groupId>
<artifactId>dropbox-core-sdk</artifactId>
<version>3.1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>