build.gradle 1.0 KB

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