Skip to content

Commit

Permalink
build.gradle.kts: add a publication for the linux and windows distrib…
Browse files Browse the repository at this point in the history
…utions
  • Loading branch information
danielratiu committed Nov 20, 2024
1 parent 56c8491 commit 2fd9cc6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,34 @@ publishing {
}
}
}
create<MavenPublication>("FASTEN_WIN_RCP") {
groupId = "fasten"
artifactId = "win.rcp"
artifact(tasks.named("package_fasten_safety_distribution_win"))
/*pom.withXml {
val dependenciesNode = asNode().appendNode("dependencies")
configurations["languageLibs"].resolvedConfiguration.firstLevelModuleDependencies.forEach {
val dependencyNode = dependenciesNode.appendNode("dependency")
dependencyNode.appendNode("groupId", it.moduleGroup)
dependencyNode.appendNode("artifactId", it.moduleName)
dependencyNode.appendNode("version", it.moduleVersion)
dependencyNode.appendNode("type", it.moduleArtifacts.first().type)
}
configurations["mps"].resolvedConfiguration.firstLevelModuleDependencies.forEach {
val dependencyNode = dependenciesNode.appendNode("dependency")
dependencyNode.appendNode("groupId", it.moduleGroup)
dependencyNode.appendNode("artifactId", it.moduleName)
dependencyNode.appendNode("version", it.moduleVersion)
dependencyNode.appendNode("type", it.moduleArtifacts.first().type)
dependencyNode.appendNode("scope", "provided")
}
}*/
}
create<MavenPublication>("FASTEN_LINUX_RCP") {
groupId = "fasten"
artifactId = "linux.rcp"
artifact(tasks.named("build_fasten_safety_distribution"))
}
}
}

Expand Down

0 comments on commit 2fd9cc6

Please sign in to comment.