-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
62 lines (49 loc) · 1.14 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'
id 'maven'
id 'idea'
id 'eclipse'
id 'net.minecrell.licenser' version '0.1.2'
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
defaultTasks 'clean', 'licenseFormat'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'xyz.lexteam'
version = '1.0.0-SNAPSHOT'
description = "TheStig - Lexteam IRC logging bot."
ext.url = 'http://www.lexteam.xyz/'
repositories {
mavenCentral()
}
dependencies {
compile 'org.mongodb:mongo-java-driver:3.0.4'
compile 'org.kitteh.irc:client-lib:1.0.0'
compile 'com.google.code.gson:gson:2.5'
compile 'com.google.guava:guava:19.0'
compile 'com.mashape.unirest:unirest-java:1.4.7'
}
license {
header file('HEADER.txt')
include '**/*.java'
newLine = false
}
jar {
classifier = 'base'
manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': version,
'Main-Class': 'xyz.lexteam.thestig.Main'
)
}
}
shadowJar {
classifier = ''
}
artifacts {
archives shadowJar
}
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}