Commit Graph

21 Commits

Author SHA1 Message Date
John Blum
fba4ed2158 Declare and apply the Spring Boot Gradle Plugin before additional Spring Gradle Plugins, such as the Spring DependencyManagement Gradle Plugin. 2022-03-10 23:36:16 -08:00
John Blum
2f9d5dfcac Polish the SBDG Gradle Plugins.
* Rename MavenPublishingConventionsPlugin to MavenPublishConventionsPlugins.
* Rename SpringDependencyManagementConventionPlugin to SpringDependencyManagementConventionsPlugin.
* Refactor the application and configuration of the Spring DependencyManagementPlugin into a private method of the SpringDependencyManagementConventionsPlugin class.
* Reorder the Spring SNAPSHOT and MILESTONE Repository declarations in the SpringSampleBootPlugin.
2022-03-09 15:05:18 -08:00
John Blum
f3c9565e99 Add Javadoc comment about not invoking (externally-defined) Methods inside Groovy/Gradle DSL (Closures).
Additionally:

* Suppress compiler warnings.
* Guard against possibly null Projecct objects passed to isAuthRequired(:Project) method.
2022-02-23 15:21:06 -08:00
John Blum
94fe7bd387 Ensure authentication requirements are evaluated correctly.
Methods defined outside Groovy/Gradle DSL cannot be invoked (called) inside Groovy/Gradle DSL.
2022-02-23 15:15:26 -08:00
Rob Winch
0db8ff3fb8 Ensure repoKey in Artifactory configuration is not null.
Methods cannot be called (invoked) from inside Groovy/Gradle DSL.
2022-02-23 15:12:10 -08:00
John Blum
749f22dd5a Re-instate the PublishLocalPluin.
Use the PublishLocalPlugin to review and verify Project artifacts locally before they are published to a remove repository, such as Artifactory or Maven Central.
2022-02-23 11:37:21 -08:00
John Blum
eeab7c19a6 Refactor RootProjectPlugin to organize build logic in private methods describing the function applied to the build. 2022-02-23 10:47:29 -08:00
John Blum
cd916995aa Upgrade to Artifactory Gradle Plugin 4.27.1. 2022-02-23 10:47:07 -08:00
John Blum
a7a92f2323 Include Asciidoc documentation into the docs ZIP file. 2022-02-23 10:47:07 -08:00
John Blum
415e3401cc Refactor how the Maven BOM for the SBDG project is created. 2022-02-17 20:03:28 -08:00
John Blum
6ab57409b8 Refactor and simplify Spring Build Conventions Gradle Plugins.
* Declare CHECKSTYLE_VERSION class member constant in the CheckstylePlugin.
* Remove the PlublishLocalPlugin.
* Replace use of the deprecated JavaPluginConvention with JavaPluginExtension in the JavadocApiPlugin.
* Replace the EclipseWtpPlugin with the EclipsePlugin applied in the AbstractSpringJavaPlugin class.
* Review and fix spelling error in CopyPropertiesPlugin Javadoc.
* Review, refactor and polish the Spring Gradle PropDepsPlugins including PropDepsPlugins for IntelliJ IDEA and Eclipse.
2022-02-17 19:05:12 -08:00
John Blum
75c8e06a02 Declare org.slf4j:jul-over-slf4j SLF4J logging dependency. 2022-02-14 10:27:05 -08:00
John Blum
6600bb3f23 Fix project Maven BOM generation.
Specifically, fixed the generation of the Maven POM (BOM) dependencyManagement block.
2022-02-10 21:00:15 -08:00
John Blum
babf7163f2 Update Copyright.
Set year from 2017 to present.
2022-02-10 16:37:58 -08:00
John Blum
43f0565795 Handle duplication during Spring Geode (Asciidoc) documentation generation. 2022-02-10 16:37:57 -08:00
John Blum
a1ecc430ee Fix Javadoc to comply with Java 17 Javadoc syntax restrictions. 2022-02-10 16:37:57 -08:00
John Blum
55ffae046c Replace testRuntime configuration with testRuntimeOnly. 2022-02-10 16:37:57 -08:00
John Blum
4a5986b31f Include Gradle Plugin to generate Maven BOM.
Refactor the spring-geode-bom module.
2022-01-27 17:03:54 -08:00
John Blum
6652fdb793 Add configureDeployArtifactsTask(:Project) and skipProjectWithSonarQubePlugin(:Project) methods to io.spring.gradle.convention.Utils Groovy class. 2022-01-27 17:02:17 -08:00
John Blum
bcf2a138e4 Review, refactor and polish (local) Spring Build Conventions Gradle Plugins.
Remove the gradle/maven-pom-editor.gradle build script as this logic (concern) is handled by the MavenPlushingConventionsPlugin.

Clean up associated Gradle project build scripts affected by the Gradle Plugin changes.
2022-01-27 16:57:52 -08:00
John Blum
8a7591237b Import Spring Build Conventions Gradle Plugins. 2022-01-27 16:56:19 -08:00