Change project name to Nugget

This commit is contained in:
zontreck 2024-10-15 02:31:08 -07:00
parent 91fac7484b
commit ecb210d3ef
149 changed files with 13 additions and 13 deletions

View file

@ -35,7 +35,7 @@ fun ShadowJar.configureStandard() {
val sourcesJar by tasks.existing(AbstractArchiveTask::class) {
from(
zipTree(project(":paperweight-lib").tasks
zipTree(project(":nugget-lib").tasks
.named("sourcesJar", AbstractArchiveTask::class)
.flatMap { it.archiveFile })
) {
@ -43,14 +43,14 @@ val sourcesJar by tasks.existing(AbstractArchiveTask::class) {
}
}
val prefix = project.name.substringAfter("paperweight-")
val prefix = project.name.substringAfter("nugget-")
gradlePlugin {
website.set("https://github.com/PaperMC/paperweight")
vcsUrl.set("https://github.com/PaperMC/paperweight")
plugins.create("paperweight-$prefix") {
website.set("https://git.zontreck.com/ObsidianMC/nugget")
vcsUrl.set("https://git.zontreck.com/ObsidianMC/nugget")
plugins.create("nugget-$prefix") {
id = "io.papermc.paperweight." + prefix
displayName = "paperweight $prefix"
displayName = "nugget $prefix"
tags.set(listOf("paper", "minecraft"))
}
}
@ -109,11 +109,11 @@ publishing {
}
fun MavenPom.pomConfig() {
val repoPath = "PaperMC/paperweight"
val repoUrl = "https://github.com/$repoPath"
val repoPath = "ObsidianMC/nugget"
val repoUrl = "https://git.zontreck.com/$repoPath"
name.set("paperweight")
description.set("Gradle plugin for the PaperMC project")
name.set("nugget")
description.set("Gradle plugin for the ObsidianMC project")
url.set(repoUrl)
inceptionYear.set("2020")

View file

@ -49,7 +49,7 @@ class PaperweightCore : Plugin<Project> {
override fun apply(target: Project) {
checkJavaVersion()
Git.checkForGit()
printId<PaperweightCore>("paperweight-core", target.gradle)
printId<PaperweightCore>("nugget-core", target.gradle)
val ext = target.extensions.create(PAPERWEIGHT_EXTENSION, PaperweightCoreExtension::class, target)

Some files were not shown because too many files have changed in this diff Show more