mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Update publishing setup
This commit is contained in:
5 files changed
+16
-7
No files matched your search
@@ -12,6 +12,7 @@ repositories {
|
||||
dependencies {
|
||||
implementation(libs.shadow)
|
||||
implementation(libs.indraCommon)
|
||||
implementation(libs.cloud.build.logic)
|
||||
implementation(libs.indraLicenseHeader)
|
||||
implementation(libs.mod.publish.plugin)
|
||||
implementation(libs.configurateYaml)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
plugins {
|
||||
id("carbon.base-conventions")
|
||||
id("net.kyori.indra.publishing")
|
||||
id("org.incendo.cloud-build-logic.publishing")
|
||||
}
|
||||
|
||||
|
||||
signing {
|
||||
val signingKey: String? by project
|
||||
val signingPassword: String? by project
|
||||
|
||||
+1
-5
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id("carbon.build-logic")
|
||||
alias(libs.plugins.hangar.publish)
|
||||
alias(libs.plugins.indra.publishing.sonatype)
|
||||
alias(libs.plugins.cloud.buildLogic.rootProject.publishing)
|
||||
}
|
||||
|
||||
val projectVersion: String by project // get from gradle.properties
|
||||
@@ -49,7 +49,3 @@ hangarPublish.publications.register("plugin") {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
indraSonatype {
|
||||
useAlternateSonatypeOSSHost("s01")
|
||||
}
|
||||
@@ -2,7 +2,8 @@
|
||||
sponge-gradle = { id = "org.spongepowered.gradle.plugin", version = "2.3.0" }
|
||||
hangar-publish = { id = "io.papermc.hangar-publish-plugin", version = "0.1.3" }
|
||||
indra-publishing-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
|
||||
javadoc-links = { id = "org.incendo.cloud-build-logic.javadoc-links", version = "0.0.16" }
|
||||
javadoc-links = { id = "org.incendo.cloud-build-logic.javadoc-links" }
|
||||
cloud-buildLogic-rootProject-publishing = { id = "org.incendo.cloud-build-logic.publishing.root-project", version.ref = "cloud-build-logic" }
|
||||
resource-factory-paper-convention = { id = "xyz.jpenilla.resource-factory-paper-convention", version.ref = "resource-factory" }
|
||||
resource-factory-bukkit-convention = { id = "xyz.jpenilla.resource-factory-bukkit-convention", version.ref = "resource-factory" }
|
||||
resource-factory-velocity-convention = { id = "xyz.jpenilla.resource-factory-velocity-convention", version.ref = "resource-factory" }
|
||||
@@ -10,6 +11,7 @@ resource-factory-fabric-convention = { id = "xyz.jpenilla.resource-factory-fabri
|
||||
|
||||
[versions]
|
||||
indra = "3.1.3"
|
||||
cloud-build-logic = "0.0.17"
|
||||
shadow = "8.3.6"
|
||||
pluginYml = "0.5.3"
|
||||
mod-publish-plugin = "0.8.4"
|
||||
@@ -71,6 +73,7 @@ netty = "4.1.97.Final"
|
||||
|
||||
[libraries]
|
||||
indraCommon = { group = "net.kyori", name = "indra-common", version.ref = "indra" }
|
||||
cloud-build-logic = { module = "org.incendo:cloud-build-logic", version.ref = "cloud-build-logic" }
|
||||
indraLicenseHeader = { group = "net.kyori", name = "indra-licenser-spotless", version.ref = "indra" }
|
||||
shadow = { group = "com.gradleup.shadow", name = "shadow-gradle-plugin", version.ref = "shadow" }
|
||||
mod-publish-plugin = { module = "me.modmuss50:mod-publish-plugin", version.ref = "mod-publish-plugin" }
|
||||
|
||||
@@ -10,6 +10,9 @@ dependencyResolutionManagement {
|
||||
includeModule("org.incendo", "cloud-sponge")
|
||||
}
|
||||
}
|
||||
maven("https://central.sonatype.com/repository/maven-snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
@@ -64,6 +67,12 @@ dependencyResolutionManagement {
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven("https://central.sonatype.com/repository/maven-snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
maven("https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user