mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Build updates
This commit is contained in:
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"
|
||||
//}
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user