Skip to content

Commit

Permalink
Update to 1.21.2-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
mschae23 committed Oct 17, 2024
1 parent 1e2fa74 commit 60e0669
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 15 deletions.
36 changes: 26 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'fabric-loom' version '1.8-SNAPSHOT'
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

archivesBaseName = project.archives_base_name
version = "${project.mod_version}+${project.minecraft_version}"
group = project.maven_group

base {
archivesName = project.archives_base_name
}

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mschae23/codec-config-api")
url = uri('https://mschae23.de/git/api/packages/mschae23/maven')
}

maven {
name = 'GitHubPackages'
url = uri('https://maven.pkg.github.com/mschae23/codec-config-api')
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
username = project.findProperty('gpr.user') ?: System.getenv('GITHUB_USERNAME')
password = project.findProperty('gpr.key') ?: System.getenv('GITHUB_TOKEN')
}
}

Expand Down Expand Up @@ -87,9 +94,18 @@ publishing {

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
// Notice: This block does NOT have the same function as the block in the top level.
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
maven {
name = "Forgejo"
url = uri("https://mschae23.de/git/api/packages/mschae23/maven")

credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv("FORGEJO_PACKAGES_TOKEN")}"
}

authentication {
header(HttpHeaderAuthentication)
}
}
}
}
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.21-rc1
yarn_mappings=1.21-rc1+build.1
loader_version=0.15.11
minecraft_version=1.21.2-rc1
yarn_mappings=1.21.2-rc1+build.1
loader_version=0.16.7

# Mod Properties
mod_version = 3.2.2
maven_group = de.mschae23.minecraft.mod
archives_base_name = grind-enchantments

# Dependencies
fabric_api_version=0.100.1+1.21
fabric_api_version=0.106.0+1.21.2
codec_config_api_version=2.0.0+1.20.5-rc3
tax_free_levels_version=loom-SNAPSHOT
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ pluginManagement {
}
}

rootProject.name = 'Grind-Enchantments'
rootProject.name = 'grind-enchantments'
include 'codec-config-api'

0 comments on commit 60e0669

Please sign in to comment.