Gamebuster

WWBuild.gradle

Oct 16th, 2021 (edited)
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.89 KB | None | 0 0
  1. plugins {
  2.     id 'java-library'
  3.     id 'com.github.johnrengelman.shadow' version "6.1.0"
  4. }
  5.  
  6. repositories {
  7.     maven {
  8.         url "https://maven.fabricmc.net"
  9.     }
  10.     mavenCentral()
  11. }
  12.  
  13. dependencies {
  14.     implementation group: 'cuchaz', name: 'enigma-swing', version: '1.4.7'
  15.     implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
  16.     implementation group: 'org.apache.commons', name: 'commons-text', version: '1.9'
  17. }
  18.  
  19. shadowJar {
  20.     configurations = [project.configurations.shadow]
  21.     exclude 'META-INF/NOTICE.txt'
  22.     exclude 'META-INF/LICENSE.txt'
  23.     exclude 'gradle-wrapper-parameter-names.properties'
  24.     exclude 'gradle-wrapper-classpath.properties'
  25.     exclude 'gradle-cli-parameter-names.properties'
  26.     exclude 'gradle-cli-classpath.properties'
  27.     manifest {
  28.         attributes (
  29.             'Main-Class': 'com.wildermods.workspace.Main',
  30.             'Specification-Version': 8.0
  31.         )
  32.     }
  33. }
  34.  
  35. build.finalizedBy shadowJar
Add Comment
Please, Sign In to add comment