-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
128 lines (111 loc) · 4.83 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
<?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>cn.edu.sustech.cs110</groupId>
<artifactId>snake</artifactId>
<version>dev-SNAPSHOT</version>
<name>Snake</name>
<description>Final project for CS110 in SUSTech, 2023 spring semester.</description>
<properties>
<java.version>8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<main-class.name>cn.edu.sustech.cs110.snake.Main</main-class.name>
<javafx.version>18.0.2</javafx.version>
<lombok.version>1.18.24</lombok.version>
<guava.version>31.1-jre</guava.version>
<jackson-databind.version>2.14.2</jackson-databind.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<javafx-maven-plugin.version>0.0.8</javafx-maven-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>${javafx.version}</version>
</dependency>
<!--
Lombok helps you to generate getters/setters, constructors, etc.
Slim your Java code by using the annotations it provided!
-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<!--
Guava is a library developed by Google that provides a set of
useful classes that can help you develop the project faster and
nicer, make you free of implementing your own class.
We already introduced 'EventBus' into our framework, you can
learn more about it here:
https://github.com/google/guava/wiki/EventBusExplained
You are free to use other classes in Guava, check their Wiki
to find whatever helpful:
https://github.com/google/guava/wiki
-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!--
JavaScript Object Notation (json) is a commonly used lightweight
data-interchange format. It allows you to convert a Java object
into human-readable text, and convert a json text back to Java object.
You may try using it to implement the game save/load function,
and the user database.
Jackson (see below) is a popular library for json converting,
hopefully you can make fully use of it after searching some example,
or reading its document:
https://www.baeldung.com/jackson-object-mapper-tutorial
https://javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/latest/index.html
-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-databind.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>25.1-android</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>${javafx-maven-plugin.version}</version>
<configuration>
<mainClass>${main-class.name}</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>