-
-
Notifications
You must be signed in to change notification settings - Fork 331
/
Copy pathpom.xml
191 lines (171 loc) · 8.94 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?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.almasb.fxglgames</groupId>
<artifactId>Breakout</artifactId>
<version>2.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<source.version>17</source.version>
<!-- plugins -->
<maven.compiler.version>3.8.1</maven.compiler.version>
<maven.shade.version>3.0.0</maven.shade.version>
<fxgl.version>21</fxgl.version>
<jfx.maven.plugin.version>0.0.6</jfx.maven.plugin.version>
<client.plugin.version>0.1.35</client.plugin.version>
<attach.version>4.0.9</attach.version>
<mainClassName>breakout.main/com.almasb.fxglgames.breakout.BreakoutApp</mainClassName>
</properties>
<dependencies>
<dependency>
<groupId>com.github.almasb</groupId>
<artifactId>fxgl</artifactId>
<version>${fxgl.version}</version>
</dependency>
<dependency>
<groupId>com.gluonhq.attach</groupId>
<artifactId>audio</artifactId>
<version>${attach.version}</version>
</dependency>
<dependency>
<groupId>com.gluonhq.attach</groupId>
<artifactId>lifecycle</artifactId>
<version>${attach.version}</version>
</dependency>
<dependency>
<groupId>com.gluonhq.attach</groupId>
<artifactId>storage</artifactId>
<version>${attach.version}</version>
</dependency>
<dependency>
<groupId>com.gluonhq.attach</groupId>
<artifactId>util</artifactId>
<version>${attach.version}</version>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>gluon-releases</id>
<url>http://nexus.gluonhq.com/nexus/content/repositories/releases/</url>
</pluginRepository>
<pluginRepository>
<id>gluon-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<!-- for attach -->
<repository>
<id>nexus-gluon</id>
<url>https://nexus.gluonhq.com/nexus/content/repositories/releases/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<release>${source.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>${jfx.maven.plugin.version}</version>
<configuration>
<stripDebug>true</stripDebug>
<compress>2</compress>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
<launcher>Start-game</launcher>
<jlinkImageName>game</jlinkImageName>
<jlinkZipName>breakout-game</jlinkZipName>
<mainClass>${mainClassName}</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>client-maven-plugin</artifactId>
<version>${client.plugin.version}</version>
<configuration>
<nativeImageArgs>--allow-incomplete-classpath</nativeImageArgs>
<attachList>
<list>audio</list>
<list>lifecycle</list>
<list>storage</list>
<list>util</list>
</attachList>
<resourcesList>
<list>.*\\.lang$</list>
<list>.*\\.tmx$</list>
<list>.*\\.wav$</list>
<list>.*\\.mp3$</list>
</resourcesList>
<verbose>true</verbose>
<reflectionList>
<list>com.almasb.fxgl.app.GameApplication</list>
<list>com.almasb.fxgl.app.FXGLApplication</list>
<list>com.almasb.fxgl.app.ReadOnlyGameSettings</list>
<list>com.almasb.fxgl.app.GameSettings</list>
<!-- Engine services -->
<list>com.almasb.fxgl.app.services.FXGLDialogService</list>
<list>com.almasb.fxgl.app.services.IOTaskExecutorService</list>
<list>com.almasb.fxgl.app.services.SystemBundleService</list>
<list>com.almasb.fxgl.app.services.UpdaterService</list>
<list>com.almasb.fxgl.app.services.FXGLAssetLoaderService</list>
<list>com.almasb.fxgl.core.asset.AssetLoaderService</list>
<list>com.almasb.fxgl.cutscene.CutsceneService</list>
<list>com.almasb.fxgl.dev.DevService</list>
<list>com.almasb.fxgl.dev.profiling.ProfilerService</list>
<list>com.almasb.fxgl.event.EventBusService</list>
<list>com.almasb.fxgl.io.FileSystemService</list>
<list>com.almasb.fxgl.localization.LocalizationService</list>
<list>com.almasb.fxgl.minigames.MiniGameService</list>
<list>com.almasb.fxgl.net.NetService</list>
<list>com.almasb.fxgl.profile.SaveLoadService</list>
<list>com.almasb.fxgl.ui.FXGLDialogFactoryServiceProvider</list>
<list>com.almasb.fxgl.ui.FXGLUIFactoryServiceProvider</list>
<list>com.almasb.fxgl.app.FXGLApplication$GameApplicationService</list>
<list>com.almasb.fxgl.audio.AudioPlayer</list>
<list>com.almasb.fxgl.notification.impl.NotificationServiceProvider</list>
<list>com.almasb.fxgl.notification.view.XboxNotificationView</list>
<list>com.almasb.fxgl.achievement.AchievementService</list>
<list>com.almasb.fxgl.core.math.Vec2</list>
<list>com.almasb.fxgl.particle.Particle</list>
<!-- Components -->
<list>com.almasb.fxgl.entity.components.BoundingBoxComponent</list>
<list>com.almasb.fxgl.entity.components.CollidableComponent</list>
<list>com.almasb.fxgl.entity.components.IDComponent</list>
<list>com.almasb.fxgl.entity.components.IrremovableComponent</list>
<list>com.almasb.fxgl.entity.components.TimeComponent</list>
<list>com.almasb.fxgl.entity.components.TransformComponent</list>
<list>com.almasb.fxgl.entity.components.TypeComponent</list>
<list>com.almasb.fxgl.entity.components.ViewComponent</list>
<list>com.almasb.fxgl.particle.ParticleComponent</list>
<list>com.almasb.fxgl.physics.PhysicsComponent</list>
<list>com.almasb.fxgl.dsl.components.EffectComponent</list>
<list>com.almasb.fxgl.dsl.components.LiftComponent</list>
<list>com.almasb.fxgl.dsl.components.OffscreenCleanComponent</list>
<list>com.almasb.fxgl.dsl.components.OffscreenPauseComponent</list>
<list>com.almasb.fxgl.dsl.components.ProjectileComponent</list>
<!-- Custom components -->
<list>com.almasb.fxglgames.breakout.components.BallComponent</list>
<list>com.almasb.fxglgames.breakout.components.BatComponent</list>
<list>com.almasb.fxglgames.breakout.components.BrickComponent</list>
<list>com.almasb.fxglgames.breakout.components.BackgroundStarsViewComponent</list>
<list>com.almasb.fxglgames.breakout.BreakoutFactory</list>
</reflectionList>
<target>android</target>
<mainClass>${mainClassName}</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>