DannyTomCom

build.gradle in IJ using 5.0 JDA

Mar 7th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. plugins {
  2. //id 'java'
  3. id'application'
  4. id'com.github.johnrengelman.shadow' version '5.2.0'
  5. }
  6.  
  7. group 'com.dannytom'
  8. version '1.0-SNAPSHOT'
  9.  
  10. mainClassName = 'com.dannytom.bot.Bot'
  11.  
  12. version '1.0'
  13. def jdaVersion = '5.0.0-alpha.9'
  14.  
  15. sourceCompatibility = targetCompatibility = 1.8
  16.  
  17. repositories {
  18. mavenCentral()
  19. maven { // on kotlin dsl use `maven("https://m2.dv8tion.net/releases")` instead
  20. url "https://m2.dv8tion.net/releases"
  21. }
  22. }
  23.  
  24. dependencies {
  25. implementation("net.dv8tion:JDA:$jdaVersion")
  26. implementation("ch.qos.logback:logback-classic:1.2.9")
  27. }
  28.  
  29. compileJava.options.encoding = 'UTF-8'
Advertisement
Add Comment
Please, Sign In to add comment