-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
45 lines (34 loc) · 1.02 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
plugins {
id 'java'
}
group 'fr.enimaloc'
version '0.0.1'
repositories {
mavenCentral()
maven { url 'https://jitpack.io/' }
}
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
implementation 'com.github.javadev:underscore:1.80'
implementation 'com.github.Querz:NBT:6.1'
implementation 'org.slf4j:slf4j-api:2.0.0'
implementation 'ch.qos.logback:logback-classic:1.4.0'
implementation 'ch.qos.logback:logback-core:1.4.0'
implementation 'uk.org.lidalia:sysout-over-slf4j:1.0.2'
implementation 'it.unimi.dsi:fastutil:8.5.8'
implementation 'com.google.code.gson:gson:2.8.9'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}
test {
useJUnitPlatform()
}
def getGitHash = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = stdout
}
return stdout.toString().trim()
}
version(getGitHash())