2017-12-12 01:06:58 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.9.RELEASE")
|
2017-12-12 23:29:49 +01:00
|
|
|
classpath 'org.springframework:springloaded:1.2.6.RELEASE'
|
2017-12-12 01:06:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName = 'DiscordBot'
|
|
|
|
version = '0.1.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile("org.springframework.boot:spring-boot-starter-web"){
|
|
|
|
exclude group:"org.springframework.boot", module: "spring-boot-starter-logging"
|
|
|
|
}
|
|
|
|
compile("org.springframework.boot:spring-boot-starter-log4j2")
|
|
|
|
compile("com.sedmelluq:lavaplayer:1.2.45")
|
|
|
|
compile 'net.dv8tion:JDA:3.3.1_303'
|
|
|
|
compile group: 'org.json', name: 'json', version: '20160810'
|
2018-02-12 11:16:44 +01:00
|
|
|
compile 'org.springframework.security:spring-security-web:5.0.1.RELEASE'
|
|
|
|
// JPA Data (We are going to use Repositories, Entities, Hibernate, etc...)
|
|
|
|
compile("org.springframework.boot:spring-boot-starter-data-jpa") {
|
|
|
|
exclude group:"org.springframework.boot", module: "spring-boot-starter-logging"
|
|
|
|
}
|
|
|
|
// Use MySQL Connector-J
|
|
|
|
compile 'mysql:mysql-connector-java'
|
2018-01-12 12:50:12 +01:00
|
|
|
compile 'org.reflections:reflections:0.9.11'
|
|
|
|
|
|
|
|
|
2017-12-12 01:06:58 +01:00
|
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
|
|
testCompile('com.jayway.jsonpath:json-path')
|
2017-12-22 19:20:26 +01:00
|
|
|
compile("org.springframework.boot:spring-boot-starter-thymeleaf") {
|
|
|
|
exclude group:"org.springframework.boot", module: "spring-boot-starter-logging"
|
|
|
|
}
|
2017-12-12 01:06:58 +01:00
|
|
|
}
|
|
|
|
|