The original Aether mod ported to newer versions of Minecraft.
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.

68 lines
1.8 KiB

  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. maven {
  5. name = "forge"
  6. url = "http://files.minecraftforge.net/maven"
  7. }
  8. maven {
  9. name = "sonatype"
  10. url = "https://oss.sonatype.org/content/repositories/snapshots/"
  11. }
  12. }
  13. dependencies {
  14. classpath "net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT"
  15. }
  16. }
  17. apply plugin: "forge"
  18. version = "1.7.10-1.1.1-rivoreo-r5"
  19. group = "com.gildedgames.the-aether" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
  20. archivesBaseName = "aether"
  21. sourceCompatibility = targetCompatibility = "1.7"
  22. compileJava {
  23. sourceCompatibility = targetCompatibility = "1.7"
  24. }
  25. minecraft {
  26. version = "1.7.10-10.13.4.1558-1.7.10"
  27. runDir = "eclipse"
  28. }
  29. dependencies {
  30. // you may put jars on which you depend on in ./libs
  31. // or you may define them like so..
  32. //compile "some.group:artifact:version:classifier"
  33. //compile "some.group:artifact:version"
  34. // real examples
  35. //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
  36. //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
  37. // for more info...
  38. // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
  39. // http://www.gradle.org/docs/current/userguide/dependency_management.html
  40. }
  41. processResources {
  42. // this will ensure that this task is redone when the versions change.
  43. inputs.property "version", project.version
  44. inputs.property "mcversion", project.minecraft.version
  45. // replace stuff in mcmod.info, nothing else
  46. from(sourceSets.main.resources.srcDirs) {
  47. include "mcmod.info"
  48. // replace version and mcversion
  49. expand "version":project.version, "mcversion":project.minecraft.version
  50. }
  51. // copy everything else, thats not the mcmod.info
  52. from(sourceSets.main.resources.srcDirs) {
  53. exclude "mcmod.info"
  54. }
  55. }