@@ -8,7 +8,7 @@ buildscript {
8
8
}
9
9
10
10
plugins {
11
- id ' fabric-loom' version ' 1.0.9 '
11
+ id ' fabric-loom' version ' 1.2.5 '
12
12
id ' maven-publish'
13
13
id ' org.cadixdev.licenser' version ' 0.6.1'
14
14
id ' org.ajoberstar.grgit' version ' 4.1.1'
@@ -18,8 +18,8 @@ plugins {
18
18
}
19
19
20
20
ext. platform_name = ' fabric'
21
- ext. loader_version = ' 0.14.11 '
22
- ext. fabric_version = ' 0.68 .0+1.19.2'
21
+ ext. loader_version = ' 0.14.19 '
22
+ ext. fabric_version = ' 0.76 .0+1.19.2'
23
23
24
24
apply from : ' ../project_common.gradle'
25
25
apply from : ' project.gradle'
@@ -130,8 +130,8 @@ task github(dependsOn: build) {
130
130
def github = GitHub . connectUsingOAuth(project. github_releases_token)
131
131
def repository = github. getRepository(" ${ project.github_repository_owner} /${ project.github_repository} " )
132
132
133
- def releaseBuilder = new GHReleaseBuilder (repository, project. platform_name + ' -' + project. mc_tag + ' - ' + project . version)
134
- releaseBuilder. name(project. platform_name + ' -' + project. mc_tag + ' - ' + project . version)
133
+ def releaseBuilder = new GHReleaseBuilder (repository, project. platform_name + ' -' + project. version)
134
+ releaseBuilder. name(project. platform_name + ' -' + project. version)
135
135
releaseBuilder. commitish(grgit. branch. current(). name)
136
136
137
137
def ghRelease = releaseBuilder. create()
@@ -147,12 +147,12 @@ modrinth {
147
147
if (project. hasProperty(" modrinth_token" ) && project. hasProperty(" modrinth_id" )) {
148
148
token = project. modrinth_token
149
149
projectId = project. modrinth_id
150
- versionName = project. platform_name + ' -' + project. mc_tag + ' - ' + project . version
151
- versionNumber = project. platform_name + ' -' + project. mc_tag + ' - ' + project . version // Will fail if Modrinth has this version already
150
+ versionName = project. platform_name + ' -' + project. version
151
+ versionNumber = project. platform_name + ' -' + project. version // Will fail if Modrinth has this version already
152
152
versionType = project. release_type
153
153
// On fabric, use 'remapJar' instead of 'jar'
154
154
uploadFile = remapJar // This is the java jar task. If it can't find the jar, try 'jar.outputs.getFiles().asPath' in place of 'jar'
155
155
gameVersions = [" ${ project.minecraft_version} " ]
156
- loaders = [" ${ project.platform_name } " ] // Must also be an array - no need to specify this if you're using Loom
156
+ loaders = [" fabric " , " quilt " ] // Must also be an array - no need to specify this if you're using Loom
157
157
}
158
158
}
0 commit comments