forked from EngineHub/EngineHub-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
83 lines (68 loc) · 1.54 KB
/
build.gradle
File metadata and controls
83 lines (68 loc) · 1.54 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
plugins {
id "java"
id "maven"
id "com.github.johnrengelman.shadow" version "1.2.4"
id "com.github.hierynomus.license" version "0.12.1"
}
group = 'com.me4502'
version = '1.0-SNAPSHOT'
defaultTasks 'licenseFormat', 'build'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url = 'https://jitpack.io'
}
maven {
url = 'http://maven.sedmelluq.com'
}
maven {
url = "http://dl.bintray.com/dv8fromtheworld/maven"
}
maven {
url = "http://maven.sk89q.com/repo/"
}
}
license {
ext {
year = Calendar.getInstance().get(Calendar.YEAR)
}
header = file('HEADER.txt')
include '**/*.java'
ignoreFailures = false
strictCheck = true
mapping {
java = 'SLASHSTAR_STYLE'
}
}
task sourceJar(type: Jar) {
classifier = 'source'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc.destinationDir
}
jar {
classifier = 'dev'
}
shadowJar {
classifier = ''
}
dependencies {
compile 'net.dv8tion:JDA:3.5.1_339'
compile group: 'ninja.leaping.configurate', name: 'configurate-hocon', version: '3.1'
compile 'com.sedmelluq:lavaplayer:1.2.51'
compile 'com.sk89q:intake:3.1.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
artifacts {
archives shadowJar
archives sourceJar
archives javadocJar
archives jar
}
build.dependsOn(shadowJar)