Skip to content

Commit 9499d64

Browse files
Update tomcat and springboot versions and don't register purge tasks without atrifactory properties (#1332)
1 parent ee328e6 commit 9499d64

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

build.gradle

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -563,16 +563,19 @@ project.tasks.register('ijConfigure') {
563563
task.dependsOn(project.tasks.ijRunConfigurationsSetup)
564564
}
565565

566-
project.tasks.register('purgeNpmAlphaVersions', PurgeNpmAlphaVersions) {
567-
group = GroupNames.NPM_RUN
568-
description = "Given an alpha version prefix for npm packages via the property -P${PurgeNpmAlphaVersions.ALPHA_PREFIX_PROPERTY}=yourPrefix, " +
569-
"removes all packages with versions that match that prefix from Artifactory (e.g., @labkey/components-1.2.3-yourPrefix.0 and @labkey/premium-0.3.4-yourPrefix.1). " +
570-
" Use -PdryRun to see what versions would be deleted without actually doing the deletion."
571-
}
566+
if (project.hasProperty('artifactory_contextUrl') && project.hasProperty('artifactory_user') && project.hasProperty('artifactory_password'))
567+
{
568+
project.tasks.register('purgeNpmAlphaVersions', PurgeNpmAlphaVersions) {
569+
group = GroupNames.NPM_RUN
570+
description = "Given an alpha version prefix for npm packages via the property -P${PurgeNpmAlphaVersions.ALPHA_PREFIX_PROPERTY}=yourPrefix, " +
571+
"removes all packages with versions that match that prefix from Artifactory (e.g., @labkey/components-1.2.3-yourPrefix.0 and @labkey/premium-0.3.4-yourPrefix.1). " +
572+
" Use -PdryRun to see what versions would be deleted without actually doing the deletion."
573+
}
572574

573-
project.tasks.register('purgeNpmVersions', PurgeNpmVersions) {
574-
group = GroupNames.NPM_RUN
575-
description = "Given a package name via -P${PurgeNpmVersions.PACKAGE_NAME_PROP}=name (without the @labkey prefix) and a version list via -P${PurgeNpmVersions.VERSION_LIST_PROP}=fileName for npm package, " +
576-
"removes the versions specified from Artifactory. " +
577-
" Use -PdryRun to see what versions would be deleted without actually doing the deletion."
575+
project.tasks.register('purgeNpmVersions', PurgeNpmVersions) {
576+
group = GroupNames.NPM_RUN
577+
description = "Given a package name via -P${PurgeNpmVersions.PACKAGE_NAME_PROP}=name (without the @labkey prefix) and a version list via -P${PurgeNpmVersions.VERSION_LIST_PROP}=fileName for npm package, " +
578+
"removes the versions specified from Artifactory. " +
579+
" Use -PdryRun to see what versions would be deleted without actually doing the deletion."
580+
}
578581
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ apacheDirectoryVersion=2.1.7
100100
apacheMinaVersion=2.2.5
101101

102102
# Usually matches the version specified as a Spring Boot dependency (see springBootVersion below)
103-
apacheTomcatVersion=11.0.18
103+
apacheTomcatVersion=11.0.20
104104

105105
# (mothership) -> json-path -> json-smart -> accessor-smart
106106
# (core) -> graalvm
@@ -294,7 +294,7 @@ slf4jLog4jApiVersion=2.0.17
294294
snappyJavaVersion=1.1.10.8
295295

296296
# Also, update apacheTomcatVersion above to match Spring Boot's Tomcat dependency version
297-
springBootVersion=4.0.4
297+
springBootVersion=4.0.5
298298
# This usually matches the Spring Framework version dictated by springBootVersion
299299
springVersion=7.0.6
300300
springAiVersion=2.0.0-M4

0 commit comments

Comments
 (0)