Commit Graph

71 Commits

Author SHA1 Message Date
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
719c368a66 Add compliance tests for next-generation builds 2019-08-09 16:26:15 +02:00
Stephane Nicoll
318ffccfe7 Stop excluding JUnit 4 as of Spring Boot 2.2.0.M5
This commit updates the test starter contributor to only exclude the
vintage engine as excluding junit is no longer necessary.

Closes gh-930
2019-08-09 15:54:02 +02:00
Stephane Nicoll
a92c791c32 Polish "Do not add snapshot repo unless absolutely necessary"
See gh-960
2019-07-25 12:20:15 +02:00
HaiTao Zhang
c54ec295bf Do not add snapshot repo unless absolutely necessary
See gh-960
2019-07-25 11:53:16 +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
18b537b65f Infer default link name when appropriate
This commit improves the HELP.md customizer for links to add a link even
if it does not have a description. Links are defined in three dedicated
areas so it is possible to infer a sensible name if only one link of a
certain type is present.

Closes gh-962
2019-07-23 17:45:02 +02:00
Madhura Bhave
7cfb0c23e9 Add jackson-module-kotlin when json facet and kotlin is in use
Closes gh-957
2019-07-16 13:23:52 -07:00
Stephane Nicoll
449b22403a Upgrade to spring-javaformat 0.0.15
Closes gh-949
2019-07-10 14:57:35 +02:00
HaiTao Zhang
292e47e98b Refactor support for testing executable files
Previously, hasExecutableFile only checked if the
file exists and not if it was executable. This commit
ensures that the file exists and is executable using
ExecTask as Unzip and Untar do not preserve file permissions.

See gh-937
2019-07-02 14:25:24 -07: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
Andy Wilkinson
db2c867f71 Make compileOnly configuration customization Gradle 4+ specific
Closes gh-848
2019-06-27 20:02:20 +01:00
Andy Wilkinson
93975d98b9 Use a strategy for Kotlin version resolution
Closes gh-926
2019-06-27 15:12:45 +01:00
Stephane Nicoll
1c7a73c29f Add missing test for JUnit 4 exclusion
See gh-905
2019-06-19 14:50:32 +02:00
Stephane Nicoll
6c79192e75 Polish 2019-06-19 14:47:37 +02:00
Andy Wilkinson
372ff967a1 Make generated .gitignore more multi-module friendly
Closes gh-927
2019-06-14 14:31:22 +01:00
Stephane Nicoll
2f50cf1c8f Format source code
Closes gh-923
2019-06-12 14:46:53 +02: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
a79a9ae101 Upgrade to Gradle 4.10.3 for Spring Boot 2.0.x projects 2019-06-02 09:21:59 +02:00
Stephane Nicoll
209f092168 Make hasText public to validate corner cases 2019-05-31 11:19:37 +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
7a30f771f2 Provide idiomatic test setup when JUnit Jupiter is available
This commit provides a better test infrastructure when JUnit 5 is
available:

* The default test class uses JUnit Jupiter API
* The vintage engine that the Spring Boot starter provides is excluded
so that only the Junit Jupiter API is available on the classpath

Closes gh-905
2019-05-22 13:49:50 +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
9ea41f151d Configure JUnit platform with Spring Boot 2.2+
Closes gh-904
2019-05-21 13:31:00 +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
Stephane Nicoll
26fb971102 Upgrade to Gradle 5.4.1 2019-05-09 11:28:34 +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
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