Change project name to Nugget
This commit is contained in:
parent
91fac7484b
commit
ecb210d3ef
149 changed files with 13 additions and 13 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue