SrinjoySS01

Untitled

Jul 2nd, 2020
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. import org.apache.tools.ant.filters.ReplaceTokens
  2.  
  3. apply plugin: 'java'
  4.  
  5. group = 'SrinjoySS01'
  6. version = '1.15.2_v1'
  7.  
  8. sourceCompatibility = '1.8'
  9. targetCompatibility = '1.8'
  10.  
  11. repositories {
  12. jcenter()
  13. mavenCentral()
  14. maven {
  15. name = 'spigotmc-repo'
  16. url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
  17. }
  18. maven {
  19. name = 'sonatype'
  20. url = 'https://oss.sonatype.org/content/groups/public/'
  21. }
  22. }
  23.  
  24. dependencies {
  25. implementation 'net.dv8tion:JDA:4.2.0_168'
  26. compileOnly 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT'
  27. }
  28.  
  29. processResources {
  30. from(sourceSets.main.resources.srcDirs) {
  31. filter ReplaceTokens, tokens: [version: version]
  32. }
  33. }
Add Comment
Please, Sign In to add comment