2017-05-23 17:19:15 +00:00
|
|
|
plugins {
|
2017-09-23 07:48:04 +00:00
|
|
|
id 'java'
|
|
|
|
id 'application'
|
|
|
|
id 'com.github.johnrengelman.shadow' version '1.2.4'
|
2017-05-23 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName = 'me.savvy.rixa.Rixa'
|
2017-09-26 22:01:41 +00:00
|
|
|
version '2.4'
|
2017-05-23 17:19:15 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName = project.name
|
|
|
|
manifest {
|
|
|
|
attributes 'Implementation-Version': version
|
|
|
|
attributes 'Main-Class': mainClassName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
2017-06-09 22:09:40 +00:00
|
|
|
mavenLocal()
|
2017-09-23 07:48:04 +00:00
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
2017-05-23 17:19:15 +00:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-09-29 01:18:32 +00:00
|
|
|
compile 'net.dv8tion:JDA:3.3.1_284'
|
2017-05-23 17:19:15 +00:00
|
|
|
compile 'mysql:mysql-connector-java:5.1.38'
|
2017-09-29 01:18:32 +00:00
|
|
|
compile 'com.sedmelluq:lavaplayer:1.2.43'
|
2017-07-11 21:27:18 +00:00
|
|
|
compile 'org.twitter4j:twitter4j-core:4.0.3'
|
|
|
|
compile 'org.twitter4j:twitter4j-stream:4.0.6'
|
2017-07-14 09:53:47 +00:00
|
|
|
compile 'org.projectlombok:lombok:1.16.18'
|
2017-09-06 23:02:07 +00:00
|
|
|
compile 'ca.pjer:chatter-bot-api:1.4.7'
|
2017-09-23 07:48:04 +00:00
|
|
|
compile group: 'com.zaxxer', name: 'HikariCP-java6', version: '2.0.1'
|
2017-05-23 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
2017-09-23 07:48:04 +00:00
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
compileJava.options.fork = true
|
2017-09-23 07:51:43 +00:00
|
|
|
|
|
|
|
// Change this if you are getting errors building
|
2017-09-30 03:58:44 +00:00
|
|
|
compileJava.options.forkOptions.executable = 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\javac.exe'
|