You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1022 B
Groovy
43 lines
1022 B
Groovy
apply plugin: 'idea'
|
|
apply plugin: 'java'
|
|
apply plugin: "com.zoltu.git-versioning"
|
|
group 'net.pingex.discordbot'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven {
|
|
url "https://jitpack.io"
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven {
|
|
url "https://plugins.gradle.org/m2/"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath "gradle.plugin.com.zoltu.gradle.plugin:git-versioning:2.0.12"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
|
compile "com.github.austinv11:Discord4j:2.4.5"
|
|
compile "org.ini4j:ini4j:0.5.4"
|
|
compile "org.slf4j:slf4j-simple:1.7.9"
|
|
compile "org.apache.commons:commons-lang3:3.0"
|
|
compile "com.google.code.gson:gson:2.6.2"
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'DiscordBot',
|
|
'Main-Class': 'net.pingex.discordbot.DiscordBot'
|
|
}
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
} |