Commit Graph

127 Commits

Author SHA1 Message Date
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
Stephane Nicoll
fefde60a2e Use default methods for ProjectRequestPostProcessor 2017-07-03 08:14:38 +02:00
Stephane Nicoll
8832201c43 Add dependency range info
This commit improves the `info` endpoint to contain a
`dependency-ranges` entry that is similar than the `bom-ranges` entry
for BOMs.

Each dependency that has a version mapping is listed with the range and
the related version. Some dependencies weren't managed and are now. For
those a `managed` version is used to indicate which Spring Boot versions
do not require to specify a version for the dependency.

Closes gh-453
2017-06-25 10:34:23 +02:00
Stephane Nicoll
370d9a4b31 Upgrade to Gradle 3.5.1
Closes gh-409
2017-06-16 18:08:18 +02:00
Stephane Nicoll
ddbadf7700 Fix version range for Spring Boot 2 gradle plugin
Closes gh-431
2017-05-17 10:00:09 +02:00
Stephane Nicoll
767203b7d5 Polish "Derive package name from groupId and artifactId"
Closes gh-423
2017-05-11 16:29:16 +02:00
Brian Clozel
bb578d6fdf Derive package name from groupId and artifactId
This commit derives the package name of the application from the
artifact's `groupId` and `artifactId`. Previously sources were put in a
package that mirrors the groupId value.

This goes against the "unique package per application" policy that we
try to enforce. Even if the package name value can be customized
manually, deriving it automatically from the values provided in those
fields will help structure codebases.

With this change, the package name is derived like this:
* groupId `com.example`, artifactId `bookmarks` -> package
`com.example.bookmarks`
* groupId `com.example`, artifactId `user-management` -> package
`com.example.usermanagement`

This commit fixes the package name generation on the server, but also
in the web interfaces when the user updates the form fields.

Fixes gh-421
2017-05-11 14:36:47 +02:00
Stephane Nicoll
363eb25138 Polish 2017-04-30 19:21:01 +02:00
Sebastien Deleuze
0e3216e3ac Enable Kotlin incremental compilation with Maven
Closes gh-415
2017-04-26 17:22:17 +02:00
Stephane Nicoll
7a676095a0 Polish 2017-04-23 12:08:24 +02:00
Stephane Nicoll
fae8769748 Improve support for version token
This commit fixes the use of version token with Gradle. The standard
format with maven is "foo-bar.version" while Gradle uses
"fooBarVersion". The former format does not work with Gradle as it
attempts to interpret "-" as an operation.

A `VersionProperty` now defines a standard structure for the property
and allow to derive a camel cased version. That way, Maven still uses
the standard format while Gradle generates a consistent "fooBarVersion"
property.

Closes gh-396
2017-04-23 12:01:03 +02:00