Utility for analyzing and gathering information from Minecraft mod .JARs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. apply plugin: 'java'
  2. apply plugin: 'idea'
  3. apply plugin: 'application'
  4. apply plugin: 'maven'
  5. buildscript {
  6. repositories {
  7. maven {
  8. url "https://plugins.gradle.org/m2/"
  9. }
  10. }
  11. dependencies {
  12. classpath "gradle.plugin.net.minecrell:licenser:0.2.1"
  13. }
  14. }
  15. repositories {
  16. mavenCentral()
  17. }
  18. group = 'pl.asie'
  19. archivesBaseName = 'modalyze'
  20. mainClassName = 'pl.asie.modalyze.Main'
  21. version = "0.0.1"
  22. sourceSets {
  23. main {
  24. java {
  25. srcDir 'src'
  26. }
  27. }
  28. }
  29. jar {
  30. from { [configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }, 'src'] }
  31. exclude '**/*.java'
  32. manifest {
  33. attributes 'Main-Class': mainClassName
  34. }
  35. }
  36. apply plugin: net.minecrell.gradle.licenser.Licenser
  37. license {
  38. header file('HEADER')
  39. include '**/*.java'
  40. }
  41. dependencies {
  42. compile 'org.ow2.asm:asm-all:5.1'
  43. compile 'com.google.code.gson:gson:2.6.2'
  44. compile 'commons-io:commons-io:2.5'
  45. compile 'commons-codec:commons-codec:1.10'
  46. compile 'com.beust:jcommander:1.48'
  47. }