Commit Graph

67 Commits

Author SHA1 Message Date
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