Advertisement
Guest User

Untitled

a guest
May 7th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.55 KB | None | 0 0
  1. buildscript {
  2.     repositories {
  3.         jcenter()
  4.     }
  5.     dependencies {
  6.         classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
  7.     }
  8. }
  9.  
  10. apply plugin: 'com.github.johnrengelman.shadow'
  11. apply plugin: 'java'
  12. apply plugin: 'maven'
  13.  
  14. group 'by.orangesoft'
  15. version '0.6'
  16.  
  17. sourceCompatibility = 1.8
  18.  
  19. repositories {
  20.     mavenCentral()
  21. }
  22.  
  23. shadowJar {
  24.     archiveName = "$baseName-$version.$extension"
  25. }
  26.  
  27. artifacts {
  28.     archives shadowJar
  29. }
  30.  
  31. dependencies {
  32.     implementation fileTree(dir: 'libs', include: ['*.jar'])
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement