Commit Graph

137 Commits

Author SHA1 Message Date
sdeleuze
71b8759f40 Ignore /out/ directory with Gradle
Closes gh-657
2018-04-20 07:07:24 +02:00
Stephane Nicoll
66f06be15b Add support for Jenkins X 2018-04-16 16:44:02 +02:00
Stephane Nicoll
432be66c5a Polish contribution
Closes gh-655
2018-04-16 16:21:30 +02:00
Phillip Webb
593759f321 Fix IDE warnings
Fix warnings shown in Eclipse
2018-04-13 12:36:06 -07:00
Phillip Webb
923fb58ffc Fix checkstyle violations
Fix checkstyle violations using a pre-release version of the
spring-javaformat rules.
2018-04-13 12:36:06 -07:00
Phillip Webb
eb5211960c Migrate tests to AssertJ
Refactor all existing tests to use AssertJ assertions.
2018-04-13 12:36:06 -07:00
Phillip Webb
6493eae015 Apply automatic cleanup rules
Apply code cleanup rules from Eclipse for better consistency.
2018-04-13 12:36:06 -07:00
Phillip Webb
3d4efbf525 Reformat code
Format code using a pre-release version of the spring-javaformat plugin.
2018-04-13 12:36:06 -07:00
Phillip Webb
0c0556c585 Add Eclipse IDE support files
Add additional files to make development with Eclipse easier.
2018-04-13 12:31:11 -07:00
Phillip Webb
6309b33ee5 Format POM.xml files
Reformat POM.xml files for consistency.
2018-04-13 12:30:14 -07:00
Andy Wilkinson
3e2ef6db10 Limit ignoring of directories in Git to the root of the repository
Closes gh-623
2018-04-06 14:15:08 +01:00
Stephane Nicoll
da5be4d1b2 Polish 2018-03-29 11:02:59 +02:00
Stephane Nicoll
ad785527f1 Move to assertJ 2018-03-29 10:59:40 +02:00
Stephane Nicoll
a99595bfae Remove dead code 2018-03-29 10:18:14 +02:00
Stephane Nicoll
5fef28a763 Polish "Create a settings.gradle file for Gradle projects"
Closes gh-643
2018-03-29 10:14:47 +02:00
Chris Vogel
aa75b1efaa Create a settings.gradle file for Gradle projects
See gh-643
2018-03-29 09:40:48 +02:00
Andrew Holland
5f9d80d0d7 Ignore the new .sts4-cache folder added as part of STS 4
Closes gh-624
2018-03-18 13:38:30 -04:00
Stephane Nicoll
39932bc0c5 Upgrade to Maven 3.5.3
Closes gh-622
2018-03-08 13:49:58 +01:00
Stephane Nicoll
c6951c45fb Polish test logging 2018-03-08 11:55:11 +01:00
Stephane Nicoll
fe7650f2c8 Upgrade to Spring Boot 2.0.0
This commit upgrades to Spring Boot 2.0.0.

Please note that this commit does not change metrics names to use new
features of Micrometer yet (see gh-526)

Closes gh-611
2018-03-01 08:00:49 +01:00
Stephane Nicoll
eb811a557e Avoid recursion in computeIfAbsent 2018-02-28 20:14:26 +01:00
Spring Buildmaster
0f67d2e583 Next Development Version 2018-02-27 15:17:36 +00:00
Stephane Nicoll
2f49fde74e Add agent for JBoss Forge 2018-02-21 16:59:41 +01:00
Stephane Nicoll
afd4cd6a59 Add agent for VS Code 2018-02-21 16:19:45 +01:00
Stephane Nicoll
aad08e0c21 Introduce shared utilities for ProjectRequestPostProcessor 2018-02-14 14:12:06 +01:00
Stephane Nicoll
e612aab3a8 Improve dependency order in generated build
Closes gh-601
2018-02-12 15:49:48 +01:00
Stephane Nicoll
3fac2d78e4 Fix freeCompilerArgs definition in Gradle build
Closes gh-593
2018-02-08 10:13:15 +01:00
Stephane Nicoll
e58b7bf701 Enable strict null-safety for Kotlin projects
Closes gh-591
2018-02-07 16:13:48 +01:00
Stephane Nicoll
ba164fc6df Upgrade to Gradle 4.5.1
Closes gh-589
2018-02-06 12:34:50 +01:00
Stephane Nicoll
1d9a68d6fc Upgrade to Kotlin 1.2.20
This commits upgrade to Kotlin 1.2.20 and uses the new stdlib artifact
names. As a result, 2.0  milestones prior to Spring Boot 2.0.0.RC1 are
no longer supported.

Closes gh-576
2018-02-01 11:34:56 +01:00
Stephane Nicoll
18ef480a23 Use default Kotlin plugin settings
Rather than override the default, this commit removes the override for
the incremental compilation support in Maven. We now relies on all
default now.

Closes gh-584
2018-02-01 10:46:06 +01:00
Stephane Nicoll
72184131a3 Manage Kotlin version consistently
Closes gh-564
2017-12-28 13:42:04 +01:00
Stephane Nicoll
faa7de99c2 Add version range support for Kotlin version
Closes gh-556
2017-12-11 16:18:43 +01:00
Stephane Nicoll
6fbb1262d3 Polish 2017-12-11 14:15:27 +01:00
Stephane Nicoll
baf1022e6f Polish "Allow generation of custom files"
Closes gh-552
2017-12-03 02:00:42 +00:00
Torsten Walter
f224c6a38a Allow generation of custom files
To generate additional files, `doGenerateProjectStructure` should be
overridden but doing so doesn't work as `ProjectGeneratedEvent` is
publised as part as the base implementation.

See gh-552
2017-12-03 01:28:12 +00:00
Stephane Nicoll
e96968d2af Remove explicit references to Java versions in the generator
Closes gh-543
2017-11-16 14:42:27 +01:00
Stephane Nicoll
c33b1df90c Add support for Kotlin's runApplication
Spring Boot 2.0.0.M6 offers a better integration with Kotlin. A
top-level `runApplication` function can be used to start the app and
additional dependency and plugin management are provided.

This commit simplifies the way a Kotlin-based project is generated when
running with a compatible version

Closes gh-534
2017-10-27 14:18:05 +02:00
Stephane Nicoll
9d7b2e95d6 Improve imports and annotations model 2017-10-27 11:43:27 +02:00
Stephane Nicoll
75b9c14378 Upgrade to Maven wrapper 3.5.2
Closes gh-529
2017-10-25 11:01:20 +02:00
Stephane Nicoll
f103e397f4 Upgrade to Gradle 4.2 for Spring Boot 2+
Closes gh-513
2017-09-29 14:53:41 +02:00
Spring Buildmaster
7f4db38cee Next Development Version 2017-09-18 16:00:41 +00:00
Stephane Nicoll
8efe5f34be Ensure configuration can be serialized
Closes gh-506
2017-09-18 15:02:01 +02:00
Stephane Nicoll
cf93d5ddef Rework caching configuration
Closes gh-401
2017-09-15 13:29:45 +02:00
Stephane Nicoll
dc69a352e9 Add group to generated gradle projects
Closes gh-478
2017-09-15 13:12:11 +02:00
Stephane Nicoll
444a9f461b Fix package name cleanup algorithm with version
This commit improves the cleanup algorithm to accept artifactId with
versions in them as it's used as part of the package name by
default. `foo-1.4.5` now generates `foo145`.

Closes gh-436
2017-09-09 14:49:08 +02:00
Stephane Nicoll
9976d8e20d Fix generation of war project with Spring Boot 2+
As of Spring Boot 2.0.0.M1, the SpringBootServletInitializer class has
been relocated to the support package. This commit fixes the generation
of war project as of that version.

Closes gh-502
2017-09-07 09:01:19 +02:00
Andy Wilkinson
c6ebf51a53 Use Gradle 4 for Gradle projects post Spring Boot 2.0 M3
Closes gh-472
2017-07-28 14:14:15 +01:00
Stephane Nicoll
905b5257a5 Revert "Ignore out/ directory with Gradle"
This commit reverts 495f8fa
2017-07-26 09:19:08 +02:00
Stephane Nicoll
495f8fab1c Ignore out/ directory with Gradle
Closes gh-469
2017-07-26 08:59:03 +02:00