Update for 1.18
This commit is contained in:
parent
4b4cd6ef93
commit
7354b5cb55
@ -1,21 +1,2 @@
|
|||||||
image: gradle:jdk17
|
include:
|
||||||
|
- remote: 'https://jfmods.gitlab.io/scripts/jfmod.yml'
|
||||||
variables:
|
|
||||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
|
||||||
|
|
||||||
build_test:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- gradle --build-cache build
|
|
||||||
- cp build/libs/* ./
|
|
||||||
- mv *-dev.jar dev.zip
|
|
||||||
- mv *.jar latest.jar
|
|
||||||
- mv dev.zip latest-dev.jar
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- build/libs
|
|
||||||
- latest.jar
|
|
||||||
- latest-dev.jar
|
|
||||||
|
@ -1,7 +1 @@
|
|||||||
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
|
apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle"
|
||||||
|
|
||||||
dependencies {
|
|
||||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
|
||||||
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
|
|
||||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
|
||||||
}
|
|
@ -1,18 +1,9 @@
|
|||||||
# Done to increase the memory available to gradle.
|
# Done to increase the memory available to gradle.
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
# Fabric Properties
|
|
||||||
# check these on https://fabricmc.net/versions.html
|
# check these on https://fabricmc.net/versions.html
|
||||||
minecraft_version=1.17.1
|
minecraft_version=1.18
|
||||||
yarn_mappings=build.63
|
yarn_mappings=build.1
|
||||||
loader_version=0.12.5
|
loader_version=0.12.6
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.3
|
|
||||||
maven_group=io.gitlab.jfronny
|
maven_group=io.gitlab.jfronny
|
||||||
archives_base_name=YesCheat
|
archives_base_name=YesCheat
|
||||||
|
|
||||||
modrinth_id=
|
|
||||||
modrinth_required_dependencies=
|
|
||||||
modrinth_optional_dependencies=
|
|
||||||
curseforge_id=none
|
|
||||||
curseforge_required_dependencies=
|
|
||||||
curseforge_optional_dependencies=
|
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Loading…
Reference in New Issue
Block a user