build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. apply plugin: 'application'
  4. compileJava.options.encoding = 'UTF-8'
  5. tasks.withType(JavaCompile) {
  6. options.encoding = 'UTF-8'
  7. }
  8. sourceCompatibility = 1.8
  9. version = '1.0'
  10. jar {
  11. manifest {
  12. attributes 'Implementation-Title': 'UneFede',
  13. 'Implementation-Version': version
  14. }
  15. }
  16. repositories {
  17. jcenter()
  18. maven { url 'https://jitpack.io' }
  19. mavenCentral()
  20. flatDir {
  21. dirs '/lib/'
  22. }
  23. }
  24. dependencies {
  25. implementation 'com.github.sys1yagi.mastodon4j:build:1.7.0'
  26. compile group: 'commons-io', name: 'commons-io', version: '2.6'
  27. compile group: 'org.json', name: 'json', version: '20180813'
  28. compile group: 'pircbot', name: 'pircbot', version: '1.5.0'
  29. compile group: 'org.twitter4j', name: 'twitter4j-core', version: '4.0.7'
  30. compile group: 'org.twitter4j', name: 'twitter4j-async', version: '4.0.7'
  31. compile group: 'org.twitter4j', name: 'twitter4j-stream', version: '4.0.7'
  32. compile group: 'com.github.sys1yagi.mastodon4j', name: 'mastodon4j', version: '1.7.0'
  33. }
  34. application {
  35. mainClassName="bot.irc.main.Main"
  36. }
  37. run {
  38. }