forked from 3arthqu4ke/hmc-specifics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (31 loc) · 839 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
plugins {
id 'java'
}
group 'me.earth.headlessmc'
version '1.0.0'
repositories {
mavenCentral()
maven { // TODO: AHHHHHHHHHHHHHH we need something
name = "jitpack.io"
url = "https://jitpack.io"
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileJava {
if (JavaVersion.current().ordinal()
> JavaVersion.VERSION_1_8.ordinal()) {
options.compilerArgs.addAll(['--release', '8'])
}
}
dependencies {
implementation ('com.github.3arthqu4ke:HeadlessMc:1.0.0a') {
exclude module: 'headlessmc-launcher'
exclude module: 'headlessmc-lwjgl'
}
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
test {
useJUnitPlatform()
}