-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (48 loc) · 1.17 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
plugins {
id "java"
}
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
tasks.withType(JavaCompile)*.options*.encoding = 'UTF-8'
sourceSets {
main {
java {
srcDirs = ['src/']
}
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io/" }
maven { url "https://jcenter.bintray.com/" }
}
configurations {
include
implementation.extendsFrom include
}
dependencies {
include 'com.google.code.gson:gson:2.9.0'
include 'org.ow2.asm:asm-tree:9.3'
include 'commons-io:commons-io:2.11.0'
include 'commons-cli:commons-cli:1.5.0'
include 'net.java.dev.jna:jna:5.12.1'
implementation 'com.google.guava:guava:23.0'
include 'com.formdev:flatlaf:2.3'
include 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.0'
}
task shadowJar(type: Jar) {
classifier 'release'
with jar
from {
configurations.include.collect {
zipTree(it).matching {
exclude 'META-INF/**', 'module-info.class'
}
}
}
manifest {
attributes(
"Main-Class": "me.earthhack.installer.main.Main"
)
}
}
jar.dependsOn(shadowJar)