Skip to content

Commit

Permalink
6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Dec 3, 2023
1 parent 7c5d583 commit e7ff4df
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 11 deletions.
44 changes: 36 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
plugins {
id 'fabric-loom' version '1.3-SNAPSHOT'
id 'maven-publish'
id "com.github.johnrengelman.shadow" version "7.1.2"

id "me.modmuss50.mod-publish-plugin" version "0.3.5"
}

repositories {
Expand Down Expand Up @@ -93,6 +94,10 @@ dependencies {
}
modImplementation "maven.modrinth:modmenu:${modmenu_version}"

// modImplementation("com.github.qouteall:GravityChanger:v1.2.0-mc1.20.2") {
// exclude(group: "net.fabricmc.fabric-api")
// }

// modImplementation "maven.modrinth:sodium:mc1.20.1-0.5.2"

// modImplementation 'maven.modrinth:iris:1.6.1+1.19.4'
Expand Down Expand Up @@ -135,13 +140,6 @@ afterEvaluate {
}
}

task additionalCopy(type: Copy) {
dependsOn(remapJar)
from file("${project.buildDir}/libs/$archivesBaseName-${version}-mc${project.minecraft_version}-fabric.jar")
into file("${project.buildDir}/to_upload")
rename { n -> "$archivesBaseName-${version}-mc${project.minecraft_version}-fabric.jar" }
}

// configure the maven publication
publishing {
publications {
Expand All @@ -157,4 +155,34 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}

publishMods {
file = remapJar.archiveFile
changelog = file("changelog.md").text
type = ALPHA
modLoaders.add("fabric")

displayName = "v${project.mod_version}-mc${project.minecraft_version}"
version = "v${project.mod_version}-mc${project.minecraft_version}"

curseforge {
projectId = "839380"
accessToken = providers.environmentVariable("CURSEFORGE_TOKEN")
minecraftVersions.add(minecraft_version)

requires {
slug = "immersive-portals-mod"
}
}
modrinth {
projectId = "n1B6JCKV"
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
minecraftVersions.add(minecraft_version)
}
github {
repository = "iPortalTeam/PortalGun"
accessToken = providers.environmentVariable("GITHUB_TOKEN")
commitish = minecraft_version // the branch name is the same as minecraft version
}
}
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Upgrade to MC 1.20.2.
Make portal gun work with Gravity Changer.
Add custom color support.
Make portal to not break when touching with no-collision block (such as torch).
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ org.gradle.parallel=true
# Fabric Properties

# Mod Properties
mod_version=6.0.1
mod_version=6.1.0
maven_group=tk.meowmc
archives_base_name=portalgun

immptl_version=v4.1.1-mc1.20.2
mixin_extras_version=0.2.0-beta.9
mixin_extras_version=0.2.0
modmenu_version=8.0.0
cloth_config_version=12.0.109
geckolib_path=geckolib-fabric-1.20.2:4.2.4

minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.24
loader_version=0.15.0

#Fabric api
fabric_version=0.90.7+1.20.2

0 comments on commit e7ff4df

Please sign in to comment.