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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
dcf/build.gradle

60 lines
1.6 KiB
Groovy

group 'net.pingex'
version '0.1-dev'
apply plugin: 'java'
apply plugin: "com.zoltu.git-versioning"
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 {
// Logging
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.6.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.6.1'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21' // D4J Logger routing
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.6.1' // D4J Logger routing
// Configuration framework
compile group: 'org.apache.commons', name: 'commons-configuration2', version: '2.0'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.2'
// Discord Gateway API
compile group: 'com.github.austinv11', name: 'Discord4j', version: '2.6.1'
// Util
compile group: 'net.jodah', name: 'failsafe', version: '0.8.3'
// Permissions
compile group: 'org.mapdb', name: 'mapdb', version: '3.0.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
jar {
manifest {
attributes 'Implementation-Title': 'DiscordCommandableFramework',
'Main-Class': 'net.pingex.dcf.DiscordCommandableFramework'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}