BiomesOPlenty/build.gradle

43 lines
1.2 KiB
Groovy
Raw Normal View History

buildscript {
repositories {
mavenLocal()
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
2019-01-09 01:33:02 +00:00
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'idea'
2015-12-17 11:17:18 +00:00
2014-10-05 01:07:24 +00:00
group = "com.github.glitchfiend.biomesoplenty"
2015-06-19 09:58:24 +00:00
archivesBaseName = "BiomesOPlenty"
2014-10-04 14:37:48 +00:00
// add some stuff to the version
2019-04-30 05:39:42 +00:00
version = "${minecraft_version}-${mod_version}.${System.getenv().BUILD_NUMBER}"
def build_number = (System.getenv().BUILD_NUMBER) ? System.getenv().BUILD_NUMBER : ""
2014-10-04 14:37:48 +00:00
minecraft {
2019-04-30 05:39:42 +00:00
mappings channel: 'snapshot', version: mappings_version
accessTransformer = file('src/main/resources/META-INF/biomesoplenty_at.cfg')
2019-01-09 01:33:02 +00:00
runs {
client = {
workingDirectory = project.file("run").canonicalPath
source sourceSets.main
2019-01-09 01:33:02 +00:00
}
server = {
workingDirectory = project.file("run").canonicalPath
source sourceSets.main
2019-01-09 01:33:02 +00:00
}
}
}
dependencies {
2019-04-30 05:39:42 +00:00
minecraft 'net.minecraftforge:forge:' + minecraft_version + '-' + forge_version
}