-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
65 lines (50 loc) · 1.33 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
buildscript {
repositories {
mavenCentral()
maven {
name = "Gradle Plugins"
url "https://plugins.gradle.org/m2/"
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:4.0.0"
}
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
mainClassName = 'com.davixdevelop.schem2obj.SchemeToObj'
group 'com.davixdevelop'
version '0.8.' + ('git rev-list --count HEAD'.execute().text.trim())
archivesBaseName = "schem2obj"
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
repositories {
mavenCentral()
maven {
name = "JitPack"
url = "https://jitpack.io/"
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
compile 'org.apache.logging.log4j:log4j-core:2.17.1'
compile 'commons-logging:commons-logging:1.2'
compile 'commons-cli:commons-cli:1.5.0'
compile "com.google.code.gson:gson:2.8.9"
compile "com.flowpowered:flow-nbt:1.0.0"
}
shadowJar{
classifier = null
manifest{
attributes(
'Main-Class' : 'com.davixdevelop.schem2obj.SchemeToObj',
)
}
mergeServiceFiles()
}
test {
useJUnitPlatform()
}