-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.26 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
apply plugin: 'java'
apply plugin: 'application'
project.version = '1.0'
sourceCompatibility = 8
mainClassName = 'minicraft.core.Game'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
}
dependencies {
implementation 'org.jetbrains:annotations:24.1.0'
implementation 'org.json:json:20240205'
implementation 'com.konghq:unirest-java:3.14.5'
implementation 'org.tinylog:tinylog-api:2.7.0'
implementation 'org.tinylog:tinylog-impl:2.7.0'
implementation 'com.github.JnCrMx:discord-game-sdk4j:v0.5.5'
implementation 'org.jogamp.gluegen:gluegen-rt-main:2.3.2'
implementation 'org.jogamp.joal:joal-main:2.3.2'
}
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
shadowJar {
archivesBaseName = 'aircraft'
archiveClassifier.set('')
manifest {
attributes(
'Main-Class': mainClassName,
'Implementation-Title': project.name,
'Implementation-Version': project.version
)
}
}