/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library project to get you started. * For more details take a look at the Java Libraries chapter in the Gradle * user guide available at https://docs.gradle.org/5.0/userguide/java_library_plugin.html */ plugins { id 'java-library' id 'application' id 'eclipse' } compileJava.options.encoding = 'UTF-8' mainClassName = 'fr.slixe.tipbot.TipBot' group 'fr.slixe' version '1.0.0' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { jcenter() mavenCentral() maven { url 'http://krobot-framework.github.io/maven' } maven { url 'http://wytrem.github.io/maven' } } dependencies { implementation 'com.google.guava:guava:26.0-jre' //implementation 'org.krobot:krobot-framework:3.0.0-ALPHA-09' implementation project(":krobot") implementation 'com.mashape.unirest:unirest-java:1.4.9' implementation 'com.arangodb:arangodb-java-driver:5.0.0' implementation 'org.apache.commons:commons-lang3:3.8.1' implementation 'net.dv8tion:JDA:3.8.3_460' implementation 'com.google.inject:guice:4.2.2' implementation 'org.apache.logging.log4j:log4j-api:2.11.2' implementation 'org.apache.logging.log4j:log4j-core:2.11.2' } task fatJar(type: Jar) { from { configurations .runtimeClasspath .findAll { !it.name.endsWith('pom') } .collect { it.isDirectory() ? it : zipTree(it) } } with jar baseName = project.name + '-all' manifest { attributes 'Main-Class': mainClassName } }