-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
45 lines (33 loc) · 981 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
41
42
43
44
45
plugins {
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
group = 'rip.jnic'
version = '1.0-SNAPSHOT'
description = 'OpenMyJ2C'
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_1_8
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2'
implementation 'org.ow2.asm:asm-commons:9.4'
implementation 'org.ow2.asm:asm-tree:9.4'
implementation 'org.apache.commons:commons-compress:1.22'
implementation 'info.picocli:picocli:4.7.1'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
shadowJar {
}
jar.manifest.attributes(
'Main-Class': 'rip.jnic.Main'
)
build.dependsOn(shadowJar)