2023-03-15 21:52:13 +00:00
|
|
|
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-04 21:41:59 +00:00
|
|
|
import org.gradle.kotlin.dsl.`maven-publish`
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
`java-library`
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
register<MavenPublication>("maven") {
|
|
|
|
artifactId = base.archivesName.get()
|
|
|
|
from(components["java"])
|
|
|
|
|
|
|
|
pom {
|
|
|
|
name.set("CC: Tweaked")
|
|
|
|
description.set("CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles and more to Minecraft.")
|
|
|
|
url.set("https://github.com/cc-tweaked/CC-Tweaked")
|
|
|
|
|
|
|
|
scm {
|
|
|
|
url.set("https://github.com/cc-tweaked/CC-Tweaked.git")
|
|
|
|
}
|
|
|
|
|
|
|
|
issueManagement {
|
|
|
|
system.set("github")
|
|
|
|
url.set("https://github.com/cc-tweaked/CC-Tweaked/issues")
|
|
|
|
}
|
|
|
|
|
|
|
|
licenses {
|
|
|
|
license {
|
|
|
|
name.set("ComputerCraft Public License, Version 1.0")
|
|
|
|
url.set("https://github.com/cc-tweaked/CC-Tweaked/blob/HEAD/LICENSE")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven("https://squiddev.cc/maven") {
|
|
|
|
name = "SquidDev"
|
|
|
|
|
|
|
|
credentials(PasswordCredentials::class)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|