-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (32 loc) · 1015 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
group 'me.nickimpact.pixelmon'
version '1.4.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
shadow fileTree(dir: 'libs', include: '*.jar')
compile 'com.google.guava:guava:27.1-jre'
compile "org.msgpack:msgpack-core:0.8.17"
compile "org.jetbrains:annotations:17.0.0"
implementation 'com.intellij:forms_rt:7.0.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
manifest {
attributes 'Main-Class': 'me.nickimpact.pixelmon.modelconverter.ModelConverter'
}
}
shadowJar {
archiveName = "Pixelmon-Model-Converter-${version}.jar"
manifest {
attributes 'Main-Class': 'me.nickimpact.pixelmon.modelconverter.ModelConverter'
}
relocate ('org.msgpack', 'me.nickimpact.pixelmon.modelconverter.libs.msgpack')
relocate ('org.jetbrains', 'me.nickimpact.pixelmon.modelconverter.libs.jetbrains')
}
build.dependsOn shadowJar