File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
buildSrc/src/main/groovy/io/spring/gradle/convention Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class ArtifactoryPlugin implements Plugin<Project> {
3434
3535 project. plugins. apply(' com.jfrog.artifactory' )
3636
37+ // (Externally-defined) Methods cannot be invoked inside the Groovy/Gradle DSL.
3738 def artifactoryRepoKey = resolveRepositoryKey(project)
3839 def authRequired = isAuthRequired(project)
3940
@@ -54,10 +55,12 @@ class ArtifactoryPlugin implements Plugin<Project> {
5455 }
5556 }
5657
58+ @SuppressWarnings (" all" )
5759 private boolean isAuthRequired (Project project ) {
58- project. hasProperty(' artifactoryUsername' )
60+ project? . hasProperty(' artifactoryUsername' )
5961 }
6062
63+ @SuppressWarnings (" all" )
6164 private String resolveRepositoryKey (Project project ) {
6265
6366 boolean isSnapshot = Utils . isSnapshot(project);
You can’t perform that action at this time.
0 commit comments