-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
83 lines (64 loc) · 2.02 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
plugins {
id "com.vanniktech.dependency.graph.generator" version "0.5.0"
}
apply plugin: 'java'
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
}
}
group = 'rr.industries'
version = 'master'
sourceCompatibility = 1.11
targetCompatibility = 1.11
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
jcenter()
repositories {
maven { url 'https://jitpack.io' }
}
mavenCentral()
}
dependencies {
// Youtube Library
compile group: 'com.sedmelluq', name: 'lavaplayer', version:'1.3.7'
// SQLite Database Driver
compile group: 'org.xerial', name: 'sqlite-jdbc', version:'3.8.11.2'
// Http Server
compile group: 'com.sparkjava', name: 'spark-core', version:'2.7.2'
// Http Client
compile group: 'com.mashape.unirest', name: 'unirest-java', version:'1.4.9'
// Discord API
compile 'com.discord4j.discord4j:discord4j-core:3.0.0.M4'
// File Download
compile group: 'commons-io', name: 'commons-io', version:'2.6'
// Json Library
compile group: 'com.google.code.gson', name: 'gson', version:'2.7'
// Logging API
compile group: 'ch.qos.logback', name: 'logback-classic', version:'1.2.3'
// Parsing Links
compile group: 'com.twitter', name: 'twitter-text', version:'1.14.3'
//Escape HTML
compile group: 'org.apache.commons', name:'commons-text', version:'1.6'
// SQL Abstraction
compile group: 'org.jooq', name: 'jooq', version:'3.10.1'
compile group: 'org.jooq', name: 'jooq-meta', version:'3.10.1'
compile group: 'org.jooq', name: 'jooq-codegen', version:'3.10.1'
compile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
}
task copyToLib(type: Copy) {
jar.dependsOn copyToLib
into "$buildDir/output/lib"
from configurations.runtime
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { "lib/" + it.getName() }.join(' '),
'Main-Class': 'rr.industries.Launcher'
)
}
}