Removed deprecations

This commit is contained in:
Marcin Grzejszczak
2021-11-16 22:59:15 +01:00
parent bf1c8af2e3
commit 6fd4280d12
32 changed files with 197 additions and 659 deletions

View File

@@ -84,7 +84,7 @@ class PublishStubsToScmTask extends DefaultTask {
this.onlyIf(task -> {
String contractRepoUrl = contractRepository.repositoryUrl.getOrElse("");
if (StringUtils.isEmpty(contractRepoUrl) || !ScmStubDownloaderBuilder.isProtocolAccepted(contractRepoUrl)) {
if (!StringUtils.hasText(contractRepoUrl) || !ScmStubDownloaderBuilder.isProtocolAccepted(contractRepoUrl)) {
getLogger().warn(
"Skipping pushing stubs to scm since your contracts repository URL [{}] doesn't match any of the accepted protocols for SCM stub downloader",
contractRepoUrl);