Skip to content

Commit

Permalink
1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Mar 25, 2023
1 parent cac19af commit 2eded7c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
25 changes: 11 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import com.modrinth.minotaur.TaskModrinthUpload

plugins {
id 'fabric-loom' version '1.0-SNAPSHOT'
id 'fabric-loom' version '1.1-SNAPSHOT'
id 'maven-publish'

// Quilt Mappings, for parameters and javadoc. Also hashed mojmap.
id "org.quiltmc.quilt-mappings-on-loom" version "4.2.0"

id "com.matthewprenger.cursegradle" version "1.4.0"
id "com.modrinth.minotaur" version "1.1.0"
id "com.modrinth.minotaur" version "2.+"
}

sourceCompatibility = JavaVersion.VERSION_17
Expand Down Expand Up @@ -47,7 +45,7 @@ dependencies {
// LuckPerms
modImplementation(include('me.lucko:fabric-permissions-api:0.1-SNAPSHOT'))

modImplementation(include("fr.catcore:server-translations-api:${project.translations_version}"))
modImplementation(include("xyz.nucleoid:server-translations-api:${project.translations_version}"))

// Allows in game config editing
modImplementation(include("com.github.samolego.Config2Brigadier:config2brigadier-fabric:${project.c2b_version}"))
Expand Down Expand Up @@ -128,20 +126,19 @@ curseforge {
}
}

task modrinth(type: TaskModrinthUpload, dependsOn: remapJar) {
onlyIf {
ENV.MODRINTH_TOKEN
}

modrinth {
token = ENV.MODRINTH_TOKEN
projectId = "NNqujQWr"
versionNumber = version
versionName = "[${project.minecraft_version}] Healthcare ${version}"
releaseType = "release"
versionType = "release"

uploadFile = file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")

addGameVersion("${project.minecraft_version}")
addLoader('fabric')
addLoader('quilt')
gameVersions = ["${project.minecraft_version}"]
loaders = ['fabric', 'quilt']

dependencies { // A special DSL for creating dependencies
required.project "fabric-api" // Creates a new required dependency on Fabric API
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ loader_version=0.14.11
fabric_version=0.69.1+1.19.3
quilt_mappings=1
# Mod Properties
mod_version=1.2.1
mod_version=1.3.0
maven_group=org.samo_lego
archives_base_name=healthcare
# Dependencies
c2b_version=1.2.1
c2b_version=1.2.3
translations_version=2.0.0-beta.2+1.19.4-pre2

0 comments on commit 2eded7c

Please sign in to comment.