Advertisement
Guest User

Untitled

a guest
Jan 10th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. version = "1.7.10-1.0_Alpha"
  2. group= "com.TechDweebGaming.MystTech" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
  3. archivesBaseName = "MystTech"
  4.  
  5. minecraft {
  6. version = "1.7.10-10.13.4.1558-1.7.10"
  7. runDir = "eclipse"
  8. }
  9.  
  10. dependencies {
  11. // you may put jars on which you depend on in ./libs
  12. // or you may define them like so..
  13. //compile "some.group:artifact:version:classifier"
  14. //compile "some.group:artifact:version"
  15.  
  16. // real examples
  17. //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
  18. //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
  19.  
  20. // for more info...
  21. // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
  22. // http://www.gradle.org/docs/current/userguide/dependency_management.html
  23.  
  24. compile "mcp.mobius.waila:Waila:1.5.10"
  25. }
  26.  
  27. processResources
  28. {
  29. // this will ensure that this task is redone when the versions change.
  30. inputs.property "version", project.version
  31. inputs.property "mcversion", project.minecraft.version
  32.  
  33. // replace stuff in mcmod.info, nothing else
  34. from(sourceSets.main.resources.srcDirs) {
  35. include 'mcmod.info'
  36.  
  37. // replace version and mcversion
  38. expand 'version':project.version, 'mcversion':project.minecraft.version
  39. }
  40.  
  41. // copy everything else, thats not the mcmod.info
  42. from(sourceSets.main.resources.srcDirs) {
  43. exclude 'mcmod.info'
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement