mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Add publishing URLs
This commit is contained in:
2 files changed
+11
-6
No files matched your search
@@ -8,9 +8,14 @@ plugins {
|
|||||||
|
|
||||||
indra {
|
indra {
|
||||||
gpl3OnlyLicense()
|
gpl3OnlyLicense()
|
||||||
|
|
||||||
|
publishReleasesTo("parksReleases", "https://repo.parks.dev/repository/maven-releases/")
|
||||||
|
publishSnapshotsTo("parksSnapshots", "https://repo.parks.dev/repository/maven-snapshots/")
|
||||||
|
|
||||||
javaVersions {
|
javaVersions {
|
||||||
target(16)
|
target(16)
|
||||||
}
|
}
|
||||||
|
|
||||||
github(GITHUB_ORGANIZATION, GITHUB_REPO)
|
github(GITHUB_ORGANIZATION, GITHUB_REPO)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ tasks {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val projectVersion = version as String
|
//val projectVersion = version as String
|
||||||
if (projectVersion.endsWith("-SNAPSHOT")) {
|
//if (projectVersion.endsWith("-SNAPSHOT")) {
|
||||||
// Add git commit hash to version for platforms
|
// // Add git commit hash to version for platforms
|
||||||
val gitHash = latestGitHash() ?: error("Failed to retrieve git commit hash")
|
// val gitHash = latestGitHash() ?: error("Failed to retrieve git commit hash")
|
||||||
version = "$projectVersion+$gitHash"
|
// version = "$projectVersion+$gitHash"
|
||||||
}
|
//}
|
||||||
Reference in new issue
Block a user