@@ -10,9 +10,9 @@ plugins {
1010 id ' maven-publish'
1111 id ' io.freefair.javadoc-links'
1212 id ' net.minecraftforge.gradleutils'
13- alias libs. plugins. licenser
14- alias libs. plugins. gitversion
13+ id ' net.minecraftforge.gitversion'
1514 alias libs. plugins. changelog
15+ alias libs. plugins. licenser
1616 alias libs. plugins. plugin. publish
1717 alias libs. plugins. shadow
1818}
@@ -21,7 +21,7 @@ final projectDisplayName = 'Forge Gradle Utilities'
2121description = ' Small collection of utilities for standardizing MinecraftForge gradle scripts'
2222base. archivesName = ' gradleutils'
2323group = ' net.minecraftforge'
24- version = gitversion. tagOffset
24+ // version set by gitversion in settings.gradle
2525
2626println " Version: $version "
2727
@@ -42,7 +42,7 @@ configurations {
4242 attributes {
4343 attribute(Bundling . BUNDLING_ATTRIBUTE , objects. named(Bundling , Bundling . SHADOWED ))
4444 }
45- } because ' Project dependencies do not read the published module file, so the shadowed attribute is manually declared'
45+ } because ' Project dependencies do not read the published module file, so the shadowed attribute is manually declared. '
4646 }
4747 }
4848
@@ -76,7 +76,6 @@ dependencies {
7676}
7777
7878// Removes local Gradle API from compileOnly. This is a workaround for bugged plugins.
79- // TODO [GradleUtils][GradleAPI] Remove this once they are fixed.
8079// Publish Plugin: https://github.com/gradle/plugin-portal-requests/issues/260
8180// Shadow: https://github.com/GradleUp/shadow/pull/1422
8281afterEvaluate { project ->
@@ -128,7 +127,7 @@ gradlePlugin {
128127 implementationClass = ' net.minecraftforge.gradleutils.GradleUtilsPlugin'
129128 displayName = projectDisplayName
130129 description = project. description
131- tags. set( [' minecraftforge' ])
130+ tags = [' minecraftforge' ]
132131 }
133132}
134133
0 commit comments