add modrinth publishing
This commit is contained in:
parent
3f90d46028
commit
059eb8c1d9
2 changed files with 13 additions and 8 deletions
19
build.gradle
19
build.gradle
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id 'fabric-loom' version '1.9-SNAPSHOT'
|
||||
id 'fabric-loom' version '1.8-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
id "com.modrinth.minotaur" version "2.+"
|
||||
}
|
||||
|
||||
version = project.mod_version
|
||||
|
@ -74,15 +75,12 @@ java {
|
|||
withSourcesJar()
|
||||
}
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.archivesBaseName}" }
|
||||
}
|
||||
jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.archivesBaseName}" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
|
@ -100,3 +98,10 @@ publishing {
|
|||
// retrieving dependencies.
|
||||
}
|
||||
}
|
||||
|
||||
modrinth {
|
||||
projectId = "no-auto-iconify"
|
||||
uploadFile = remapJar
|
||||
gameVersions = ["1.21.4"]
|
||||
loaders = ["fabric"]
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ minecraft_version=1.21.4
|
|||
yarn_mappings=1.21.4+build.4
|
||||
loader_version=0.16.9
|
||||
# Mod Properties
|
||||
mod_version=1.0-SNAPSHOT
|
||||
mod_version=1.0.0
|
||||
maven_group=net.liquidev
|
||||
archives_base_name=NoAutoIconify
|
||||
# Dependencies
|
||||
|
|
Loading…
Reference in a new issue