mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fleet.bundles maven artifact build script
GitOrigin-RevId: 3697a2a1549b2e05d2367ae1cab60a67fdb86469
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4555440e7b
commit
c101e4337c
+4
-2
@@ -32,9 +32,11 @@ class MavenArtifactsBuilder {
|
||||
/** second component of module names which describes a common group rather than a specific framework and therefore should be excluded from artifactId */
|
||||
private static final Set<String> COMMON_GROUP_NAMES = ["platform", "vcs", "tools", "clouds"] as Set<String>
|
||||
protected final BuildContext buildContext
|
||||
private final boolean skipNothing
|
||||
|
||||
MavenArtifactsBuilder(BuildContext buildContext) {
|
||||
MavenArtifactsBuilder(BuildContext buildContext, boolean skipNothing = false) {
|
||||
this.buildContext = buildContext
|
||||
this.skipNothing = skipNothing
|
||||
}
|
||||
|
||||
void generateMavenArtifacts(List<String> namesOfModulesToPublish,
|
||||
@@ -300,7 +302,7 @@ class MavenArtifactsBuilder {
|
||||
}
|
||||
|
||||
protected boolean shouldSkipModule(String moduleName, boolean moduleIsDependency) {
|
||||
if (moduleIsDependency) return false
|
||||
if (skipNothing || moduleIsDependency) return false
|
||||
return !moduleName.startsWith("intellij.")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user