mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Set up sonatype publishing
This commit is contained in:
7 files changed
+45
-19
No files matched your search
@@ -2,16 +2,12 @@ plugins {
|
||||
id("net.kyori.indra")
|
||||
id("net.kyori.indra.git")
|
||||
id("net.kyori.indra.checkstyle")
|
||||
id("net.kyori.indra.publishing")
|
||||
id("net.kyori.indra.license-header")
|
||||
}
|
||||
|
||||
indra {
|
||||
gpl3OnlyLicense()
|
||||
|
||||
publishReleasesTo("parksReleases", "https://repo.parks.dev/repository/maven-releases/")
|
||||
publishSnapshotsTo("parksSnapshots", "https://repo.parks.dev/repository/maven-snapshots/")
|
||||
|
||||
javaVersions {
|
||||
target(17)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
plugins {
|
||||
id("carbon.base-conventions")
|
||||
id("net.kyori.indra.publishing")
|
||||
}
|
||||
|
||||
|
||||
signing {
|
||||
val signingKey: String? by project
|
||||
val signingPassword: String? by project
|
||||
useInMemoryPgpKeys(signingKey, signingPassword)
|
||||
}
|
||||
|
||||
indra {
|
||||
configurePublications {
|
||||
pom {
|
||||
developers {
|
||||
//developer {
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user