Skip to content

Commit

Permalink
1.15 gradle adaptations
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Jan 12, 2020
1 parent 6f321be commit 2adf18d
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -147,7 +147,7 @@ In order to get the most up-to-date builds, you'll have to periodically update y
2. Navigate to `basefolder` in the console.
3. Make sure you have not made any changes to the local repository, or else there might be issues with Git.
* If you have, try reverting them to the status that they were when you last updated your repository.
4. Execute `git pull version/1.14`. This pulls all commits from the official repository that do not yet exist on your local repository and updates it (With Gitkraken just click the small pull arrow at the top).
4. Execute `git pull version/1.15`. This pulls all commits from the official repository that do not yet exist on your local repository and updates it (With Gitkraken just click the small pull arrow at the top).


#### Trouble shooting
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -77,7 +77,7 @@ dependencies {
apiImplementation fg.deobf("com.ldtteam:structurize:${config.structurize_version}")
compile "com.ldtteam:datagenerators:0.1.34-ALPHA"

implementation fg.deobf("mezz.jei:jei-1.14.4:${config.jei_version}")
implementation fg.deobf("mezz.jei:jei-1.15.1:${config.jei_version}")

testImplementation 'junit:junit:4.12'
testImplementation "org.mockito:mockito-core:1.+"
Expand Down Expand Up @@ -225,7 +225,7 @@ curseforge {

project {
id = '245506'
addGameVersion '1.14.4'
addGameVersion '1.15.1'
changelog = file('build/changelog.md')
changelogType = 'markdown'
releaseType = System.getenv().CURSERELEASETYPE
Expand Down
10 changes: 5 additions & 5 deletions build.properties
Expand Up @@ -2,10 +2,10 @@
# Last update: 24.6.2018. Orion: Update buildscript to match new system.
#
# Minecraft / Forge.
minecraft_version=1.14.4
forge_version=28.1.96
mappings=20191202-1.14.3
minecraft_version=1.15.1
forge_version=30.0.36
mappings=20190719-1.14.3
# Dependencies
structurize_version=0.10.203-ALPHA
jei_version=6.0.0.18
structurize_version=0.10.210-ALPHA
jei_version=6.0.0.1

4 changes: 2 additions & 2 deletions gradle.properties
@@ -1,4 +1,4 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,5 @@
#Fri Jul 19 15:33:38 BRT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
Empty file modified gradlew 100644 → 100755
Empty file.
Expand Up @@ -7,7 +7,7 @@
/**
* This class group method use to insure compatibility between minecraft version.
* <p>
* This is the 1.14 version
* This is the 1.15 version
*/
public final class CompatibilityUtils
{
Expand Down
Expand Up @@ -12,7 +12,7 @@ public final class Constants
public static final String MOD_NAME = "MineColonies";
public static final String VERSION = "@VERSION@";
public static final String FORGE_VERSION = "required-after:Forge@[14.22.0.2459,)";
public static final String MC_VERSION = "[1.12,1.13,1.14]";
public static final String MC_VERSION = "[1.12,1.13,1.14,1.15]";
public static final String CLIENT_PROXY_LOCATION = "com.minecolonies.coremod.proxy.ClientProxy";
public static final String SERVER_PROXY_LOCATION = "com.minecolonies.coremod.proxy.ServerProxy";
public static final String CONFIG_GUI_LOCATION = "com.minecolonies.coremod.client.gui.GuiFactory";
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Expand Up @@ -6,7 +6,7 @@
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion="[27,)" #mandatory (27 is current forge version)
loaderVersion="[30,)" #mandatory (27 is current forge version)
# A URL to refer people to when problems occur with this mod
issueTrackerURL="https://github.com/ldtteam/minecolonies/issues/new" #optional
# A list of mods - how many allowed here is determined by the individual mod loader
Expand Down Expand Up @@ -38,7 +38,7 @@ MineColonies is a Colony/Town Simulator that adds many structures and NPC worker
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
# The version range of the dependency
versionRange="[27,)" #mandatory
versionRange="[30,)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER
Expand All @@ -47,7 +47,7 @@ MineColonies is a Colony/Town Simulator that adds many structures and NPC worker
[[dependencies.minecolonies]]
modId="minecraft"
mandatory=true
versionRange="[1.14.4]"
versionRange="[1.15.1]"
ordering="NONE"
side="BOTH"
# Here's another dependency
Expand Down

0 comments on commit 2adf18d

Please sign in to comment.