Stephane Nicoll
a3826cfaed
Polish "Add support for removing build plugins"
...
See gh-978
2019-08-13 20:30:07 +02:00
HaiTao Zhang
083213c904
Add support for removing build plugins
...
See gh-978
2019-08-13 17:47:36 +02:00
Stephane Nicoll
f33a661074
Be more defensive when extracting filename from URI
...
Closes gh-827
2019-08-12 13:52:34 +02:00
HaiTao Zhang
71364408fa
Rename versionRange attribute to compatibilityRange
...
See gh-968
2019-08-09 11:20:02 +02:00
Stephane Nicoll
98bdd29356
Guard compilation unit from null
attributes
...
Closes gh-975
2019-08-07 15:29:57 +02:00
Stephane Nicoll
5672806380
Handle dependency without scope
...
This commit updates BuildSystem writer implementations to handle a
dependency without scope rather than ignoring it. If a dependency has
no scope it is managed as it had DependencyScope.COMPILE.
Closes gh-972
2019-08-05 16:17:42 +02:00
Stephane Nicoll
65562e1e92
Polish
2019-08-05 14:16:42 +02:00
Stephane Nicoll
844c7ca004
Make DefaultProjectAssertGenerator more flexible
...
This commits adds a public constructor to take a ProjectDirectoryFactory
implementation to make it more obvious it is a required component. In
the absence of a configured factory, one is retrieved from the context
as before.
2019-08-05 13:39:24 +02:00
Stephane Nicoll
316751a57c
Consistently create project directory
...
Closes gh-971
2019-08-05 13:39:24 +02:00
Stephane Nicoll
c7093c6b51
Polish "Adding field declaration for code generation"
...
See gh-881
2019-07-25 16:34:57 +02:00
Matt Berteaux
e7d5f8ffaf
Adding field declaration for code generation
...
See gh-881
2019-07-25 13:54:02 +02:00
Stephane Nicoll
7800d50551
Polish "Clean root resource path if necessary"
...
See gh-964
2019-07-25 13:46:54 +02:00
Toon Geens
52872f9a72
Clean root resource path if necessary
...
See gh-964
2019-07-25 13:46:54 +02:00
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