-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (27 loc) · 1010 Bytes
/
build.gradle
File metadata and controls
34 lines (27 loc) · 1010 Bytes
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
plugins {
id 'java'
id 'application'
}
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
application{
mainClassName='com.lordsofmidnight.main.Client'
}
group 'com.lordsofmidnight.ui'
dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
compile 'com.jfoenix:jfoenix:8.0.8'// Java 8
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.1.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.1.1'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: "5.1.0"
testCompile group: 'org.junit.platform', name: 'junit-platform-launcher', version: "1.1.0"
}
task(runMain, dependsOn: 'classes', type: JavaExec) {
main = 'com.lordsofmidnight.main.Client'
classpath = sourceSets.main.runtimeClasspath
applicationDefaultJvmArgs = ["-Djava.net.preferIPv4Stack=true"]
}