Stephane Nicoll
7b18b15a5a
Polish "Write Gradle plugin repositories section only if necessary"
...
See gh-880
2019-07-25 11:39:10 +02:00
abdelghani.roussi
afd96dcdf5
Write Gradle plugin repositories section only if necessary
...
See gh-880
2019-07-25 11:38:19 +02:00
Stephane Nicoll
449b22403a
Upgrade to spring-javaformat 0.0.15
...
Closes gh-949
2019-07-10 14:57:35 +02:00
Rodrigo Graciano
c5bc699459
Fix error message when a version could not be parsed
...
See gh-948
2019-07-10 08:44:36 +02:00
Andy Wilkinson
d38463c4e7
Fix references to built-in configurations with Gradle Kotlin DSL
...
Closes gh-917
2019-06-27 20:42:12 +01:00
Stephane Nicoll
2f50cf1c8f
Format source code
...
Closes gh-923
2019-06-12 14:46:53 +02:00
Andy Wilkinson
50160d4931
Polish "Allow adding <extensions>true</extensions> to plugin config"
...
See gh-921
2019-06-10 14:13:46 +01:00
Olga Maciaszek-Sharma
3e86a446a8
Allow adding <extensions>true</extensions> to plugin config
...
See gh-921
2019-06-10 14:13:37 +01:00
Andy Wilkinson
04b2777b32
Correct Kotlin DSL syntax for adding and customizing configurations
...
Fixes gh-917
2019-06-06 09:51:20 +01:00
Stephane Nicoll
ce150380c2
Polish method name
2019-05-31 12:13:59 +02:00
Stephane Nicoll
e063405b92
Allow to initialize a dependency builder from an existing dependency
2019-05-31 11:19:37 +02:00
Stephane Nicoll
31b60a6955
Model custom configuration for a Gradle dependency
...
Closes gh-850
2019-05-31 11:19:30 +02:00
Stephane Nicoll
d32b2f6a20
Model that a Maven dependency is optional
...
Closes gh-913
2019-05-31 09:35:43 +02:00
Stephane Nicoll
e6f287b298
Fix compatiblity with Microsoft Windows
...
Closes gh-879
2019-05-29 16:10:54 +02:00
Stephane Nicoll
62d0a94364
Migrate ProjectAssert to java.nio.file.Path
2019-05-28 15:29:28 +02:00
Stephane Nicoll
b8cac0407b
Add dependency builder
...
This commit adds a builder for Dependency to allow it to be further
tuned without having to add an extra constructor.
2019-05-22 15:44:30 +02:00
Stephane Nicoll
a2950c9a56
Add support for dependency exclusions
...
Closes gh-906
2019-05-22 11:59:15 +02:00
Stephane Nicoll
b0597aaca1
Add modifiers support to TypeDeclaration
...
Closes gh-908
2019-05-22 10:10:30 +02:00
Stephane Nicoll
c298a6d021
Polish
2019-05-21 13:45:58 +02:00
Stephane Nicoll
75228ba4a3
Add parentheses for method invocations with no argument
...
Closes gh-907
2019-05-21 11:39:04 +02:00
Stephane Nicoll
372e823d21
Fix version references in Gradle KTS build
...
Closes gh-901
2019-05-17 18:45:40 +02:00
Stephane Nicoll
c7c16872c4
Polish "Add Gradle Kotlin DSL support"
...
In particular, this commit replaces the GradleKts dedicated build system
in favor of a dedicated build system dialect.
Closes gh-851
Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
2019-05-15 16:54:50 +02:00
jnizet
239116b29a
Add Gradle Kotlin DSL support
...
This commit refactors the existing Groovy DSL writers in order to share
code between the Groovy DSL and Kotlin DSL writers.
See gh-851
2019-05-15 16:54:50 +02:00
jnizet
020d66be63
Add GradleKts build system
...
This commit adds a BuildSystem implementation for the Gradle Kotlin DSL
See gh-851
2019-05-15 16:54:50 +02:00
Madhura Bhave
0f645c7143
Polish "Add support for Gradle's tasksWithType"
...
Closes gh-890
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-05-02 10:42:21 +02:00
jnizet
0eeb85697e
Add support for Gradle's tasksWithType
...
This commit adds support for configuring several tasks at once using
a type. It also migrates the Kotlin support so that, instead of
configuring compileKotlin and compileTestKotlin, it configures all
tasks of type KotlinCompile at once.
See gh-890
2019-05-02 09:41:05 +02:00
Andy Wilkinson
3409325342
Allow ext properties to have non-String values
...
Closes gh-893
2019-04-30 13:09:14 +01:00
Stephane Nicoll
f97867650d
Extend conditions that can apply to more than one value
...
This commit extends the build system and platform conditions to allow
for several values to be specified. Those conditions match if any of
the provided value matches.
Closes gh-888
2019-04-11 07:37:10 +02:00
Andy Wilkinson
b387a77e73
Disable HTML escaping when rendering Mustache templates
...
Closes gh-885
2019-04-05 10:40:50 +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
166fbf7e97
Fix typo
2019-03-17 14:42:46 +01:00
Stephane Nicoll
738cf0f55b
Move BuildWriter to core module
...
See gh-871
2019-03-17 11:08:09 +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
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
0805345e85
Make sure that Maven plugins can be amended
...
Closes gh-867
2019-03-14 15:27:02 +01:00
Stephane Nicoll
ae87d7381c
Make sure that Maven plugin executions can be amended
...
See gh-867
2019-03-14 15:26:45 +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
Stephane Nicoll
9f4c6a5326
Fix assertions to work on Windows
...
Closes gh-859
2019-03-11 18:06:17 +01:00
jnizet
6b0b5377ec
Add missing spaces in generated Gradle code
...
Closes gh-852
2019-03-04 11:11:00 +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
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
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
c98f59e8f2
Remove deprecated stsId
...
Closes gh-820
2019-02-11 12:46:00 +01:00
Stephane Nicoll
9dc3cc65d1
Polish module dependencies
2019-02-08 13:01:32 +01:00
Stephane Nicoll
cd3b274112
Rationalize exception management
2019-02-08 11:00:04 +01:00
Stephane Nicoll
478c0c41c6
Relocate Agent to web module
2019-02-08 10:56:41 +01:00