Initial Commit of Gjallarhorn: A Heimdall Analytics Tool

This commit is contained in:
Kenneth Endfinger
2021-12-26 03:33:23 -05:00
parent cbbefc94a2
commit ff665c27f5
13 changed files with 257 additions and 6 deletions

View File

@ -39,6 +39,9 @@ tasks.create("updateManifests") {
writer.use {
val rootPath = rootProject.rootDir.toPath()
val updateManifest = subprojects.mapNotNull { project ->
if (project.name == "foundation-gjallarhorn") {
return@mapNotNull null
}
val files = project.tasks.getByName("shadowJar").outputs
val paths = files.files.map { rootPath.relativize(it.toPath()).toString() }
@ -119,8 +122,10 @@ subprojects {
}
}
tasks.withType<ShadowJar> {
archiveClassifier.set("plugin")
if (project.name != "foundation-gjallarhorn") {
tasks.withType<ShadowJar> {
archiveClassifier.set("plugin")
}
}
tasks.assemble {