-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (40 loc) · 945 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
46
47
48
49
50
plugins {
id 'java'
id 'maven'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
archivesBaseName = "CurseGraph"
group 'com.latmod.cursegraph'
version '2.0.0'
mainClassName = "com.latmod.cursegraph.CurseGraph"
sourceCompatibility = targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.code.gson:gson:2.7'
compile 'net.sf.trove4j:trove4j:3.0.3'
compile 'org.jsoup:jsoup:1.10.1'
}
processResources {
inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) {
include 'app.json'
expand 'version': project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'app.json'
}
}
shadowJar {
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
classifier = ''
}
build.dependsOn(shadowJar)
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}