-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (30 loc) · 996 Bytes
/
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
import org.gradle.internal.os.OperatingSystem
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "6.1.0"
}
repositories {
mavenCentral()
}
group 'org.example'
version '0.1'
project.ext.lwjglVersion = "3.2.3"
dependencies {
implementation platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
implementation "org.lwjgl:lwjgl"
implementation "org.lwjgl:lwjgl-glfw"
implementation "org.lwjgl:lwjgl-opengl"
runtimeOnly "org.lwjgl:lwjgl::natives-windows"
runtimeOnly "org.lwjgl:lwjgl-glfw::natives-windows"
runtimeOnly "org.lwjgl:lwjgl-opengl::natives-windows"
runtimeOnly "org.lwjgl:lwjgl::natives-macos"
runtimeOnly "org.lwjgl:lwjgl-glfw::natives-macos"
runtimeOnly "org.lwjgl:lwjgl-opengl::natives-macos"
runtimeOnly "org.lwjgl:lwjgl::natives-linux"
runtimeOnly "org.lwjgl:lwjgl-glfw::natives-linux"
runtimeOnly "org.lwjgl:lwjgl-opengl::natives-linux"
}
application {
mainClassName = 'Hello'
}