forked from whisper2shade/DiscordRelay
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (50 loc) · 1.42 KB
/
build.gradle
File metadata and controls
61 lines (50 loc) · 1.42 KB
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'org.nyxcode.wurm'
version = '3.0'
description = "A mod that acts as a discord relay between Wurm kingdom chat and a discord server"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "http://jcenter.bintray.com" }
maven { url "https://dl.bdew.net/agorepo/" }
maven { url "http://repo.maven.apache.org/maven2" }
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'net.dv8tion:JDA:3.3.1_289'
compile 'org.gotti.wurmunlimited:server-modlauncher:0.40'
compile 'com.github.Sindusk:sindusklibrary:v2.1'
}
jar {
version = null
}
shadowJar {
dependencies {
exclude(dependency('org.gotti.wurmunlimited:server-modlauncher:0.40'))
exclude(dependency('org.gotti.wurmunlimited:common:3127452'))
exclude(dependency('org.gotti.wurmunlimited:server:3127452'))
}
}
task dist(type: Zip) {
into("mods", {
into(project.name, {
from jar
})
into(project.name+"/libs", {
from fileTree(dir: 'libs', include: '*')
})
from fileTree(dir: 'mods', include: '*')
})
archiveName "${project.name}-${project.version}.zip"
}