You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.6KB

  1. /*
  2. * This file was generated by the Gradle 'init' task.
  3. *
  4. * This generated file contains a sample Java Library project to get you started.
  5. * For more details take a look at the Java Libraries chapter in the Gradle
  6. * user guide available at https://docs.gradle.org/5.0/userguide/java_library_plugin.html
  7. */
  8. plugins {
  9. id 'java-library'
  10. id 'application'
  11. id 'eclipse'
  12. }
  13. compileJava.options.encoding = 'UTF-8'
  14. mainClassName = 'fr.slixe.tipbot.TipBot'
  15. group 'fr.slixe'
  16. version '1.0.0'
  17. sourceCompatibility = 1.8
  18. targetCompatibility = 1.8
  19. repositories {
  20. jcenter()
  21. mavenCentral()
  22. maven {
  23. url 'http://krobot-framework.github.io/maven'
  24. }
  25. maven {
  26. url 'http://wytrem.github.io/maven'
  27. }
  28. }
  29. dependencies {
  30. implementation 'com.google.guava:guava:26.0-jre'
  31. //implementation 'org.krobot:krobot-framework:3.0.0-ALPHA-09'
  32. implementation project(":krobot")
  33. implementation 'com.mashape.unirest:unirest-java:1.4.9'
  34. implementation 'com.arangodb:arangodb-java-driver:5.0.0'
  35. implementation 'org.apache.commons:commons-lang3:3.8.1'
  36. implementation 'net.dv8tion:JDA:3.8.3_460'
  37. implementation 'com.google.inject:guice:4.2.2'
  38. implementation 'org.apache.logging.log4j:log4j-api:2.11.2'
  39. implementation 'org.apache.logging.log4j:log4j-core:2.11.2'
  40. }
  41. task fatJar(type: Jar) {
  42. from {
  43. configurations
  44. .runtimeClasspath
  45. .findAll { !it.name.endsWith('pom') }
  46. .collect { it.isDirectory() ? it : zipTree(it) }
  47. }
  48. with jar
  49. baseName = project.name + '-all'
  50. manifest {
  51. attributes 'Main-Class': mainClassName
  52. }
  53. }