Skip to content

Commit

Permalink
Add information to the maven pom (#54)
Browse files Browse the repository at this point in the history
This is usually useless but renovate can link to the repo when it
detects the source url in the pom so it's useful to quickly navigate to
the project and look at the commit history when bumping NFRT via
renovate.
  • Loading branch information
Matyrobbrt authored Jan 2, 2025
1 parent 1dab034 commit 09a8714
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import net.neoforged.gradleutils.PomUtilsExtension

plugins {
id 'java'
id 'maven-publish'
Expand Down Expand Up @@ -130,6 +132,13 @@ publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = 'NeoFormRuntime'
description = 'Standalone CLI tool to create artifacts used to compile mods against Minecraft'
pomUtils.githubRepo(it, 'NeoFormRuntime')
pomUtils.neoForgedDeveloper(it)
pomUtils.license(it, PomUtilsExtension.License.LGPL_v2)
}
}
}

Expand Down

0 comments on commit 09a8714

Please sign in to comment.