Skip to content

Commit 4e8587c

Browse files
committed
Polish gh-21
1 parent 7377d97 commit 4e8587c

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

buildSrc/src/main/java/org/springframework/gradle/checkstyle/SpringJavaCheckstylePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

buildSrc/src/main/java/org/springframework/gradle/maven/SpringPublishLocalPlugin.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,14 +27,14 @@
2727
* @author Steve Riesenberg
2828
*/
2929
public class SpringPublishLocalPlugin implements Plugin<Project> {
30-
@Override
31-
public void apply(Project project) {
32-
project.getPlugins().withType(MavenPublishPlugin.class, (mavenPublish) -> {
33-
PublishingExtension publishing = project.getExtensions().getByType(PublishingExtension.class);
34-
publishing.getRepositories().maven((maven) -> {
35-
maven.setName("local");
36-
maven.setUrl(new File(project.getRootProject().getLayout().getBuildDirectory().getAsFile().get(), "publications/repos"));
37-
});
38-
});
39-
}
30+
@Override
31+
public void apply(Project project) {
32+
project.getPlugins().withType(MavenPublishPlugin.class, (mavenPublish) -> {
33+
PublishingExtension publishing = project.getExtensions().getByType(PublishingExtension.class);
34+
publishing.getRepositories().maven((maven) -> {
35+
maven.setName("local");
36+
maven.setUrl(new File(project.getRootProject().getLayout().getBuildDirectory().getAsFile().get(), "publications/repos"));
37+
});
38+
});
39+
}
4040
}

maven-plugin/src/main/java/io/spring/gradle/plugin/maven/SpringArtifactoryPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)