mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-03-13 06:58:12 +00:00

Build system: - Switch to our new maven server. This has a cleaner separation between published packages and mirrored packages, to avoid leaking those into other people's builds. - Update Gradle and Loom versions. Code: - Link to definitions instead in the breaking changes page. - Fix several unused variable warnings. Other: - Remove unsupported Minecraft versions from the issue template.
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
//
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
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://maven.squiddev.cc") {
|
|
name = "SquidDev"
|
|
|
|
credentials(PasswordCredentials::class)
|
|
}
|
|
}
|
|
}
|