Commit Graph

37 Commits

Author SHA1 Message Date
Stephane Nicoll
baffdfa74d Polish 2019-04-10 11:12:09 +02:00
unknown
bfed3d9474 Upgrade to GMavenPlus 1.6.3
See gh-878
2019-03-27 07:11:56 +01:00
Stephane Nicoll
357313c7bf Upgrade to spring-javaformat 0.0.7
This commit upgrades to spring-javaformat 0.0.7 and checkstyle 8.18.
2019-03-20 17:34:50 +01:00
Stephane Nicoll
568ef5ed32 MetadataBuildItemResolver should use platform version
Closes gh-872
2019-03-17 14:41:03 +01:00
Stephane Nicoll
3818b5b05e Add rule to prevent Spring conventions to be imported
See gh-871
2019-03-17 11:22:36 +01:00
Stephane Nicoll
738cf0f55b Move BuildWriter to core module
See gh-871
2019-03-17 11:08:09 +01:00
Stephane Nicoll
9203e1bd61 Move metadata build support classes to the metadata module
See gh-871
2019-03-17 11:05:01 +01:00
Stephane Nicoll
1ad3dae770 Polish 2019-03-15 14:24:25 +01:00
Stephane Nicoll
9465a70fa6 Polish 2019-03-15 11:50:10 +01:00
Stephane Nicoll
48097295d4 Polish "Add gitignore for VS Code"
Closes gh-864
2019-03-15 11:39:06 +01:00
Govinda
c5f0b835e0 Add gitignore for VS Code
See gh-864
2019-03-15 11:33:34 +01:00
Stephane Nicoll
e9d82c9edb Polish "Fix Maven Kotlin JPA compiler plugin configuration"
Closes gh-868
2019-03-15 11:20:28 +01:00
Sebastien Deleuze
b8e21636de Fix Maven Kotlin JPA compiler plugin configuration
See gh-868
2019-03-15 11:20:06 +01:00
Stephane Nicoll
0ecdf3097a Restore the ability to generate several parameters with the same name
This commit fixes the handling of configuration parameters so that
nested groups can be reused when requested with the same parameter
name. However, single parameters are additive.

Closes gh-867
2019-03-14 17:51:04 +01:00
Stephane Nicoll
a5e2994f1d Make sure that Maven plugin configuration can be amended
See gh-867
2019-03-14 15:23:17 +01:00
Stephane Nicoll
ec6ac4b1d8 Harmonize assertions on text file content
This commit harmonizes assertions on text file content by sharing the
code that reads and validate candidates. Make sure that streams are
properly closed which may fix build failures on Windows.

See gh-862
2019-03-13 14:42:23 +01:00
Brian Clozel
8263920e74 Reword HELP.md list of guides 2019-03-11 16:27:25 +01:00
Stephane Nicoll
2647c19d5b Only customize annotationProcessor scope with Gradle 4+
Closes gh-848
2019-03-10 11:04:48 +01:00
Stephane Nicoll
f989d99347 Use standard AssertJ for GradleBuildAssert 2019-03-10 10:47:09 +01:00
Stephane Nicoll
727475cec9 Polish "Avoid applying Kotlin JPA plugin"
Closes gh-853
2019-03-04 11:37:03 +01:00
jnizet
3ea0066fa8 Avoid applying Kotlin JPA plugin
Applying plugins imperatively is discouraged, and since the plugin is
added to the plugins block anyway, it is applied already.

See gh-853
2019-03-04 11:36:40 +01:00
Stephane Nicoll
82d9db7368 Add support for Gradle 5
Closes gh-847
2019-03-01 11:12:25 +01:00
Stephane Nicoll
590f3ad5ec Support of multiple Gradle generations
This commit improves `@ConditionalOnGradleVersion` to support more than
one Gradle generation in case a bean should be declared for multiple
Gradle generations.

Closes gh-849
2019-03-01 11:11:14 +01:00
Stephane Nicoll
4ac8ab3d24 Polish
See gh-849
2019-03-01 09:47:08 +01:00
Stephane Nicoll
b24cd2e9ca Add workaround for annotationProcessor scope detection in IJ
Closes gh-848
2019-02-28 18:18:09 +01:00
Stephane Nicoll
e7ee22f73a Restore support for Gradle 3
While new scopes are available as of Gradle 3.4, the Spring Boot plugin
does not manage them in the `1.5.x` line. This commit introduces a
dedicated GradleBuildWriter for Gradle 3 that uses the previous scopes.

Closes gh-845
2019-02-21 18:22:52 +01:00
Stephane Nicoll
de802b8383 Add HELP.md to .gitignore if necessary 2019-02-20 08:37:34 +01:00
Stephane Nicoll
924a73310a Project documentation infrastructure
This commit adds support for an `HelpDocument` that can be generated
alongside the project. Such document can hold an arbitrary number of
sections with pre-defined sections such as "Getting Started" and "Next
Steps".

A default contributor retrieves the links for requested dependencies
and add them to the document.

Closes gh-353

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
2019-02-19 21:10:58 -08:00
Andy Wilkinson
b91ecb61fb Add method for asserting that a pom does not have a dependency
Closes gh-842
2019-02-19 11:32:09 +00:00
Andy Wilkinson
07bf731f47 Fix assertions of dependency scope, type, and version
Closes gh-841
2019-02-19 11:18:42 +00:00
Andy Wilkinson
a049d6e4fc Polish 2019-02-19 10:03:40 +00:00
Madhura Bhave
11ffe794fa Generated code should have only one newline at the end
Fixes gh-828
2019-02-15 15:13:20 -08:00
Stephane Nicoll
701f3f6277 Map project version from version capability
Closes gh-832
2019-02-14 14:52:07 +01:00
Stephane Nicoll
b0d7bdd343 Honour custom application name in Kotlin main class
Closes gh-826
2019-02-13 09:53:49 +01:00
Stephane Nicoll
1485d9af82 Stop setting executable flag outside of project generation 2019-02-11 15:27:53 +01:00
Stephane Nicoll
9dc3cc65d1 Polish module dependencies 2019-02-08 13:01:32 +01:00
Stephane Nicoll
5e04746746 Add Spring-based project contributors
This commit adds an optional module that gathers the opinions that are
used to generate a Spring Boot project.

Closes gh-340

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
2019-02-08 09:50:35 +01:00