GitBucket
4.23.1
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
watschman
/
Beeriffic
Browse code
added dependency
master
1 parent
c9fcbbe
commit
c5cb6ca430847d5f8b2fa250c475a70e1268cd38
Watschman
authored
on 27 Nov 2018
Patch
Showing
3 changed files
build.gradle
gradle.properties
gradle/wrapper/gradle-wrapper.properties
Ignore Space
Show notes
View
build.gradle
buildscript { repositories { jcenter() maven { name = "forge" url = "https://files.minecraftforge.net/maven" } } dependencies { classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT" } } apply plugin: "net.minecraftforge.gradle.forge" version = modVersion group = modGroup archivesBaseName = modBaseName minecraft { version = project.forgeVersion runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = project.mcpVersion // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } repositories { mavenCentral() maven { name = "forestry" url = "http://maven.ic2.player.to/" } } dependencies { deobfCompile("net.sengir.forestry:forestry_${forestry_mcversion}:${forestry_version}") { transitive = false } } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include "mcmod.info" // replace version and mcversion expand "version": project.version, "mcversion": project.minecraft.version } // copy everything else, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude "mcmod.info" } }
buildscript { repositories { jcenter() maven { name = "forge" url = "https://files.minecraftforge.net/maven" } } dependencies { classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT" } } apply plugin: "net.minecraftforge.gradle.forge" version = modVersion group = modGroup archivesBaseName = modBaseName minecraft { version = project.forgeVersion runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = project.mcpVersion // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } repositories { mavenCentral() } dependencies { } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include "mcmod.info" // replace version and mcversion expand "version": project.version, "mcversion": project.minecraft.version } // copy everything else, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude "mcmod.info" } }
Ignore Space
Show notes
View
gradle.properties
modGroup=com.watschman modVersion=0.0.0.1 modBaseName=Beeriffic forgeVersion=1.12.2-14.23.5.2768 mcpVersion=snapshot_20181127 forestry_mcversion=1.12.2 forestry_version=5.8.1.322
modGroup=com.watschman modVersion=0.0.0.1 modBaseName=Beeriffic forgeVersion=1.12.2-14.23.5.2768 mcpVersion=snapshot_20181127
Ignore Space
Show notes
View
gradle/wrapper/gradle-wrapper.properties
#Tue Nov 27 23:20:58 CET 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip
Show line notes below