You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description ='Print the Modrinth description body chosen for this version (fetches GitHub release body or falls back to README.md) and show the file path'
124
+
doLast {
125
+
def body = fetchReleaseDescription(tag)
126
+
def outFile = writeModrinthBodyFile(body)
127
+
println"Modrinth description written to: ${outFile.absolutePath}"
128
+
println'---- Modrinth description start ----'
129
+
println body
130
+
println'---- Modrinth description end ----'
131
+
}
132
+
}
133
+
101
134
publishing {
102
135
publications {
103
-
create("mavenJava", MavenPublication) {
104
-
groupId = project.maven_group
105
-
artifactId = project.archives_base_name
106
-
version = project.version
107
-
108
-
artifact(tasks.named("jar")) {
109
-
classifier ="dev"
110
-
builtBy tasks.named("jar")
111
-
}
112
-
113
-
artifact(tasks.named("sourcesJar")) {
114
-
classifier ="sources"
115
-
builtBy tasks.named("sourcesJar")
116
-
}
136
+
create("maven", MavenPublication) {
137
+
from components.java
138
+
artifactId ='noctisui'
117
139
118
140
pom {
119
141
name ='NoctisUI'
120
-
description ='A Minecraft UI library for creating custom and interactive user interfaces'
142
+
description ='NoctisUI is a Minecraft UI library that makes it easy to create menus and HUDs.'
0 commit comments