mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-13 19:59:10 +01:00
68 lines
1.5 KiB
Groovy
68 lines
1.5 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
name = "forge"
|
|
url = "http://files.minecraftforge.net/maven"
|
|
}
|
|
maven {
|
|
name = "sonatype"
|
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'forge'
|
|
apply plugin: 'maven'
|
|
|
|
version = "1.7.10-0.0.8.1"
|
|
group = "ellpeck.actuallyadditions"
|
|
archivesBaseName = "ActuallyAdditions"
|
|
|
|
minecraft {
|
|
version = "1.7.10-10.13.4.1492-1.7.10"
|
|
runDir = "idea"
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name "Mobius"
|
|
url "http://mobiusstrip.eu/maven"
|
|
}
|
|
maven {
|
|
name "ChickenBones"
|
|
url "http://chickenbones.net/maven/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "mcp.mobius.waila:Waila:1.5.10_1.7.10"
|
|
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev"
|
|
compile "codechicken:CodeChickenCore:1.7.10-1.0.7.46:dev"
|
|
compile "codechicken:NotEnoughItems:1.7.10-1.0.5.110:dev"
|
|
}
|
|
|
|
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 {
|
|
output.resourcesDir = output.classesDir
|
|
}
|
|
}
|