Build updates

This commit is contained in:
Jason Penilla committed 2025-08-16 09:44:40 -07:00
1 parent 8df67f5ead
commit 26b28c88c6
8 files changed
+13 -17

No files matched your search

@@ -66,6 +66,9 @@ tasks {
build {
dependsOn(copyJar)
}
javadoc {
enabled = false
}
}
val projectVersion = project.version as String
@@ -97,10 +100,3 @@ gremlin {
defaultJarRelocatorDependencies = false
defaultGremlinRuntimeDependency = false
}
//val projectVersion = version as String
//if (projectVersion.endsWith("-SNAPSHOT")) {
// // Add git commit hash to version for platforms
// val gitHash = latestGitHash() ?: error("Failed to retrieve git commit hash")
// version = "$projectVersion+$gitHash"
//}
+1 -1
View File
@@ -32,7 +32,7 @@ val Project.releaseNotes: Provider<String>
* Relocate a package into the `carbonchat.libs.` namespace.
*/
fun Task.relocateDependency(pkg: String) {
ShadowGremlin.relocate(this, pkg, "carbonchat.libs.$pkg")
ShadowGremlin.relocateWithPrefix(this, "carbonchat.libs", pkg)
}
fun Task.standardRuntimeRelocations() {