Skip to content

Commit

Permalink
Cleanup import and add metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Jun 17, 2024
1 parent b841a98 commit 05e60ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ subprojects.forEach { subProject ->
evalSubProject.dependencies.functionalTestImplementation project(':test-utils')

//Configure the plugin metadata, so we can publish it.
evalSubProject.gradlePlugin.website = "https://github.com/NeoForged/NeoGradle"
evalSubProject.gradlePlugin.vcsUrl = "https://github.com/NeoForged/NeoGradle.git"
evalSubProject.gradlePlugin.plugins { NamedDomainObjectContainer<PluginDeclaration> plugins ->
plugins.register(evalSubProject.name.toLowerCase(Locale.ROOT)) {

Expand All @@ -192,6 +194,10 @@ subprojects.forEach { subProject ->
id = pluginId
//And the implementation class.
implementationClass = pluginClassName

displayName = "NeoForged Gradle ${evalSubProject.name.capitalize()} Plugin"
description = "A plugin for NeoForged Gradle, providing ${evalSubProject.name.capitalize()} functionality. Allowing you to setup Minecraft Modding workspaces with ease."
tags = ['minecraft', 'modding', 'gradle', 'neoforged', 'neoforge', evalSubProject.name.toLowerCase(Locale.ROOT)]
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
import org.jetbrains.gradle.ext.IdeaExtPlugin;

import java.util.*;
import java.util.concurrent.atomic.AtomicBoolean;

public class CommonProjectPlugin implements Plugin<Project> {

Expand Down

0 comments on commit 05e60ee

Please sign in to comment.