35 lines
802 B
Groovy
35 lines
802 B
Groovy
plugins {
|
|
id'java'
|
|
id'application'
|
|
id'com.github.johnrengelman.shadow' version '1.2.4'
|
|
}
|
|
|
|
mainClassName = 'me.savvy.rixa.Rixa'
|
|
version '1.0'
|
|
|
|
jar {
|
|
baseName = project.name
|
|
manifest {
|
|
attributes 'Implementation-Version': version
|
|
attributes 'Main-Class': mainClassName
|
|
}
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'net.dv8tion:JDA:3.1.1_215'
|
|
compile 'mysql:mysql-connector-java:5.1.38'
|
|
compile 'com.sedmelluq:lavaplayer:1.2.42'
|
|
compile 'org.twitter4j:twitter4j-core:4.0.3'
|
|
compile 'org.twitter4j:twitter4j-stream:4.0.6'
|
|
compile 'org.projectlombok:lombok:1.16.18'
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8' |