mirror of
https://github.com/lukasabbe/Paste-book-text.git
synced 2026-04-30 10:50:54 +00:00
added publishing
This commit is contained in:
+9
-16
@@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '1.15-SNAPSHOT'
|
id 'fabric-loom' version '1.15-SNAPSHOT'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
|
id "com.modrinth.minotaur" version "2.+"
|
||||||
}
|
}
|
||||||
|
|
||||||
version = project.mod_version
|
version = project.mod_version
|
||||||
@@ -69,20 +70,12 @@ jar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// configure the maven publication
|
modrinth {
|
||||||
publishing {
|
token = System.getenv("MODRINTH_TOKEN")
|
||||||
publications {
|
projectId = "zitKUUW9" // https://modrinth.com/mod/not-enough-pages
|
||||||
create("mavenJava", MavenPublication) {
|
version = project.mod_version
|
||||||
artifactId = project.archives_base_name
|
versionType = project.versionType
|
||||||
from components.java
|
uploadFile = remapJar
|
||||||
}
|
gameVersions = [project.minecraft_version]
|
||||||
}
|
loaders = ["fabric"]
|
||||||
|
|
||||||
// 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.
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -6,6 +6,7 @@ minecraft_version=1.21.11
|
|||||||
loader_version=0.18.4
|
loader_version=0.18.4
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.0+1.21.1
|
mod_version=1.0+1.21.1
|
||||||
|
versionType=beta
|
||||||
maven_group=com.lukasabbe
|
maven_group=com.lukasabbe
|
||||||
archives_base_name=NotEnoughPages
|
archives_base_name=NotEnoughPages
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user