-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
130 lines (113 loc) · 5.12 KB
/
build.gradle
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
/*
* Copyright (c) 2015-2017 SmithsGaming Inc.
*/
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M3'
}
}
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'checkstyle'
group = 'com.smithsgaming.transportmanager'
version = '0.0.1'
description = """Transport Manager - OpenGL"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
junitPlatform {
reportsDir file('build/test-results/')
}
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
}
checkstyle {
configFile = file("config/checkstyle/checkstyle.xml")
toolVersion = '7.6.1'
}
sourceSets {
main {
java {
srcDir 'src/main'
}
resources {
srcDir 'src/resources'
}
}
api {
java {
srcDir 'src/api'
}
}
test {
java {
srcDir 'src/test'
}
}
}
dependencies {
//Api compile dependency
compile sourceSets.api.output
//Remote compile dependencies
compile group: 'com.google.api-client', name: 'google-api-client', version:'1.21.0'
compile group: 'com.google.code.gson', name: 'gson', version:'2.6'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version:'2.5'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.5'
compile group: 'org.lwjgl', name: 'lwjgl', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-bgfx', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-egl', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-glfw', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-jawt', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-jemalloc', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-lmdb', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-nanovg', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-nfd', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-nuklear', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-openal', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-opencl', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-opengl', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-opengles', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-ovr', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-par', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-sse', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-stb', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-tinyfd', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-vulkan', version:'3.1.0'
compile group: 'org.lwjgl', name: 'lwjgl-xxhash', version:'3.1.0'
compile group: 'org.joml', name: 'joml', version: '1.9.0'
compile group: 'org.l33tlabs.twl', name: 'pngdecoder', version:'1.0'
compile group: 'io.netty', name: 'netty-all', version:'5.0.0.Alpha2'
compile group: 'com.flowpowered', name: 'flow-noise', version:'1.0.0'
//Local compile dependency
compile fileTree(dir: 'libs', include: '*.jar')
compile fileTree(dir: 'libs/JNBT', include: '*.jar')
compile fileTree(dir: 'libs/LWJGL', include: '*.jar')
compile fileTree(dir: 'libs/PaulsCode', include: '*.jar')
//Remote runtime dependency
runtime group: 'org.lwjgl', name: 'lwjgl', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-bgfx', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-glfw', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-jemalloc', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-lmdb', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-nanovg', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-nfd', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-nuklear', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-openal', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-ovr', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-par', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-sse', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-stb', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-tinyfd', version:'3.1.0', classifier:'natives-windows'
runtime group: 'org.lwjgl', name: 'lwjgl-xxhash', version:'3.1.0', classifier:'natives-windows'
//Test compile dependency
testCompile("org.junit.jupiter:junit-jupiter-api:5.0.0-M3")
//Test runtime dependency
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.0.0-M3")
}