Skip to content

Commit

Permalink
excludedModulePaths -> excludedModules
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-susanh committed Nov 13, 2023
1 parent 1ac4289 commit a530f72
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions gradle/settings/all.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if (hasProperty('gradleExcludeModuleDirs'))
{
excludedDirs.addAll("${gradleExcludeModuleDirs}".toLowerCase().split(","))
}
if (hasProperty('excludedModulePaths'))
exclusions.addAll("${excludedModulePaths}".split(","))
if (hasProperty('excludedModules'))
exclusions.addAll("${excludedModules}".split(","))

// Include ':server:embedded' unless explicitly excluded
if (!exclusions.contains("embedded"))
Expand Down
4 changes: 2 additions & 2 deletions gradle/settings/distributions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import org.labkey.gradle.util.BuildUtils
apply from: 'all.gradle'

List<String> excludedModules = []
if (hasProperty('excludedModulePaths'))
excludedModules.addAll("${excludedModulePaths}".split(","))
if (hasProperty('excludedModules'))
excludedModules.addAll("${excludedModules}".split(","))

BuildUtils.includeModules(this.settings, rootDir, ["distributions"], excludedModules)
4 changes: 2 additions & 2 deletions gradle/settings/ehr.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ List<String> ehrModulesDirs = [
]

List<String> excludedModules = []
if (hasProperty('excludedModulePaths'))
excludedModules.addAll("${excludedModulePaths}".split(","))
if (hasProperty('excludedModules'))
excludedModules.addAll("${excludedModules}".split(","))


BuildUtils.includeModules(this.settings, rootDir, [BuildUtils.PLATFORM_MODULES_DIR, BuildUtils.COMMON_ASSAYS_MODULES_DIR], excludedModules)
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ include BuildUtils.getMinificationProjectPath(gradle)
// Items may be individual module names (e.g. 'luminex'), module container names (e.g. 'customModules'), or paths (e.g., ':server:modules:commonAssays:flow')
// You must make sure to pass this list to the appropriate calls to `BuildUtils.includeModules`
List<String> excludedModules = []
if (hasProperty('excludedModulePaths'))
if (hasProperty('excludedModules'))
{
excludedModules.addAll("${excludedModulePaths}".split(","))
excludedModules.addAll("${excludedModules}".split(","))
}

if (new File(getRootDir(), BuildUtils.convertPathToRelativeDir(BuildUtils.getPlatformProjectPath(gradle))).exists()
Expand Down

0 comments on commit a530f72

Please sign in to comment.