1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-15 12:40:30 +00:00

Bump Forge and prepare for a release

I've been shown up[1]. Unacceptable!

[1]: https://twitter.com/SangarWasTaken/status/1423676992336060417
This commit is contained in:
Jonathan Coates 2021-08-06 17:25:34 +01:00
parent bb1183d274
commit bb1ebaee4f
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
11 changed files with 16 additions and 13 deletions

View File

@ -7,7 +7,7 @@ buildscript {
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:5.1.17'
classpath 'net.minecraftforge.gradle:ForgeGradle:5.1.18'
}
}
@ -485,11 +485,13 @@ task checkRelease {
}
check.dependsOn checkRelease
def isStable = false
curseforge {
apiKey = project.hasProperty('curseForgeApiKey') ? project.curseForgeApiKey : ''
project {
id = '282001'
releaseType = 'release'
releaseType = isStable ? 'release' : 'alpha'
changelog = "Release notes can be found on the GitHub repository (https://github.com/SquidDev-CC/CC-Tweaked/releases/tag/v${mc_version}-${mod_version})."
relations {
@ -510,6 +512,7 @@ tasks.register('publishModrinth', TaskModrinthUpload.class).configure {
projectId = 'gu7yAYhd'
versionNumber = "${project.mc_version}-${project.mod_version}"
uploadFile = jar
versionType = isStable ? 'RELEASE' : 'ALPHA'
addGameVersion(project.mc_version)
changelog = "Release notes can be found on the [GitHub repository](https://github.com/SquidDev-CC/CC-Tweaked/releases/tag/v${mc_version}-${mod_version})."
addLoader('forge')
@ -586,7 +589,7 @@ githubRelease {
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
.join("\n").trim()
}))
prerelease false
prerelease isStable
}
def uploadTasks = ["publish", "curseforge", "publishModrinth", "githubRelease"]

View File

@ -3,5 +3,5 @@ mod_version=1.98.1
# Minecraft properties (update mods.toml when changing)
mc_version=1.17.1
forge_version=37.0.19
forge_version=37.0.25
# NO SERIOUSLY, UPDATE mods.toml WHEN CHANGING

View File

@ -109,7 +109,7 @@ public class TileComputer extends TileComputerBase
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
peripheral = CapabilityUtil.invalidate( peripheral );

View File

@ -88,7 +88,7 @@ public final class TileDiskDrive extends TileGeneric implements DefaultInventory
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
itemHandlerCap = CapabilityUtil.invalidate( itemHandlerCap );

View File

@ -158,7 +158,7 @@ public class TileCable extends TileGeneric
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
elementCap = CapabilityUtil.invalidate( elementCap );

View File

@ -146,7 +146,7 @@ public class TileWiredModemFull extends TileGeneric
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
elementCap = CapabilityUtil.invalidate( elementCap );

View File

@ -188,7 +188,7 @@ public class TileMonitor extends TileGeneric
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
peripheralCap = CapabilityUtil.invalidate( peripheralCap );

View File

@ -77,7 +77,7 @@ public final class TilePrinter extends TileGeneric implements DefaultSidedInvent
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
itemHandlerCaps.invalidate();

View File

@ -66,7 +66,7 @@ public class TileSpeaker extends TileGeneric
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
peripheralCap = CapabilityUtil.invalidate( peripheralCap );

View File

@ -147,7 +147,7 @@ public class TileTurtle extends TileComputerBase implements ITurtleTile, Default
}
@Override
protected void invalidateCaps()
public void invalidateCaps()
{
super.invalidateCaps();
itemHandlerCap = CapabilityUtil.invalidate( itemHandlerCap );

View File

@ -20,6 +20,6 @@ CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles a
[[dependencies.computercraft]]
modId="forge"
mandatory=true
versionRange="[37.0.13,38)"
versionRange="[37.0.25,38)"
ordering="NONE"
side="BOTH"