classic-worldgen/build.gradle

74 lines
No EOL
1.6 KiB
Groovy

buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.9'
}
}
apply plugin: 'forge'
version = "1.0"
group= "dev.tilera.modding"
archivesBaseName = "cwg"
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "run"
}
repositories {
mavenCentral()
maven {
url = "https://maven.tilera.xyz"
}
maven { url 'https://jitpack.io' }
maven {
name 'Overmind forge repo mirror'
url 'https://gregtech.overminddl1.com/'
}
}
dependencies {
// Mixins currently not needed, maybe later when changing other worldgen
// compile "com.github.tox1cozZ:mixin-booter-legacy:1.1.2"
// annotationProcessor "com.github.tox1cozZ:mixin-booter-legacy:1.1.2:processor"
}
processResources
{
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/resources'
}
}
}