Commit Graph
176 Commits
Author SHA1 Message Date
Stephane Nicoll e23132747b Surround sourceCompatibility with single quotes
Closes gh-791
2019-01-05 10:13:06 +01:00
wonwoo a515a49a68 Update examples to mention Java 11
Closes gh-787
2019-01-01 11:00:57 +01:00
Stephane Nicoll af39236360 Harmonize Groovy code format
Closes gh-785
2018-12-13 13:42:11 +01:00
Stephane Nicoll 3868019f87 Simply repository definition with Maven
Closes gh-782
2018-12-12 11:25:13 +01:00
Stephane Nicoll 8e6b5e9cf5 Remove default packaging from generated pom
Closes gh-780
2018-12-11 10:25:05 +01:00
Stephane Nicoll c3079c5609 Polish 2018-12-11 09:54:24 +01:00
Stephane Nicoll 87b6a320fc Polish Kotlin code format 2018-12-10 15:09:45 +01:00
Stephane Nicoll fc7cc42d62 Polish code format 2018-12-10 15:02:22 +01:00
Stephane Nicoll 742db270d8 Stop registering java.version as a VersionProperty 2018-12-06 14:08:45 +01:00
Stephane Nicoll bba9eb7a33 Polish generated pom
This commit removes two useless properties that are already contributed
by `spring-boot-starter-parent`.
2018-12-06 13:49:09 +01:00
Stephane Nicoll 4a75ad6b21 Polish Maven pom structure 2018-12-05 16:36:40 +01:00
Stephane Nicoll 185e18cd5e Prevent project prior to Spring Boot 1.5 to be generated
See gh-763
2018-11-29 10:35:06 +01:00
Stephane Nicoll f5d440506e Simplify project generation version checks
This commit simplifies project generation by only checking for supported
Spring Boot version (i.e. 1.5 and later) and therefore removing any
logic that is specified to a non supported version.

Concretely, initializr is no longer able to generate a project for a
Spring Boot version prior to 1.5

Closes gh-763
2018-11-29 10:16:50 +01:00
Stephane Nicoll dbd865a526 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:50 +01:00
Stephane Nicoll da1655d183 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:40 +01:00
Stephane Nicoll 2a7b8f782d Upgrade to Gradle 4.10.2
Closes gh-779
2018-11-28 14:14:09 +01:00
Stephane Nicoll c96991382a Simplify Gradle support
Remove support for Gradle 2 and simplify script generation by only
supporting the recommended structure as of Gradle 3.4

Closes gh-778
2018-11-28 13:56:49 +01:00
Stephane Nicoll 9c5dfb34e9 Fix version format for Gradle versions
Closes gh-777
2018-11-27 17:57:36 +01:00
Stephane Nicoll d5b616cdb2 Fix duplication of dependencies with alias
This commit fixes `getAllDependencies()` to stop returning duplicates
when a dependency declares an alias.

Closes gh-772
2018-11-20 17:54:05 +01:00
Stephane Nicoll 41f37027c6 Review jpa facet support
Closes gh-762
2018-11-05 17:47:48 +01:00
Andy Wilkinson b009101aa6 Upgrade to Maven Wrapper 0.4.2
Closes gh-746
2018-10-31 11:04:30 +00:00
Paul Balogh 2d2ffe4013 Fix deprecated Gradle dependency configuration
See gh-730
2018-09-28 15:36:21 -04:00
Stephane Nicoll c035244181 Polish "Enable kotlin jpa plugin if necessary"
Closes gh-728
2018-09-28 15:30:58 -04:00
Rui Figueira 5f79f9a0fe Enable kotlin jpa plugin if necessary
This commit add the jpa kotlin plugin in the generated project when a
dependencies has the jpa facet.

See gh-728
2018-09-28 15:23:59 -04:00
Stephane Nicoll fc20447b21 Allow to override BOM's groupId/artifactId
Closes gh-723
2018-08-14 11:12:25 +03:00
Stephane Nicoll f141927b7b Upgrade generator to Maven 3.5.4 2018-08-13 18:41:22 +03:00
Stephane Nicoll fc0b9207f0 Upgrade to spring-javaformat 0.0.6 2018-07-31 18:01:40 +02:00
Stephane Nicoll e208a9b1f1 Redirect browsers to https when forceSsl is set
This commit extends the forceSsl support to redirect any HTML content
to https. Practically speaking, this allows to redirect all browsers to
https when they land on the main page using https. Serving traffic via
http is still allowed as preventing this would break a lot of
existing clients.

To allow to easily run the app locally, forceSsl is false and must be
enabled for any production environment.

Closes gh-473
2018-07-27 16:56:30 +02:00
Spring Buildmaster 34b518d49f Next Development Version 2018-07-10 12:29:54 +00:00
Stephane Nicoll 765385530e Upgrade to Gradle 4.8.1
Closes gh-688
2018-07-09 09:01:55 +02:00
Madhura Bhave ec87ca3ace Support annotationProcessor scope
Fixes gh-653
2018-07-05 09:26:42 -07:00
Madhura Bhave 45e3b3399a Remove duplicate entry in generated gradle .gitignore
Fixes gh-700
2018-07-03 10:33:16 -07:00
Madhura Bhave d38fa831e0 Expose resolved version range if .x present
Fixes gh-586
2018-06-28 10:55:44 -07:00
Phillip Webb 91a2db4176 Fix checkstyle violations 2018-05-31 16:19:02 -07:00
Phillip Webb 45688ffcd2 Format code 2018-05-31 16:19:02 -07:00
Phillip Webb 3f23096f27 Fix copyright header for files changed this year 2018-05-31 16:17:45 -07:00
Stephane Nicoll 492d227492 Make kotlin version mandatory only if Kotlin is enabled
Closes gh-617
2018-05-18 17:45:40 +02:00
Stephane Nicoll 8336ee6ef6 Use a fallback if no 'web' dependency is available
Closes gh-435
2018-05-18 17:24:56 +02:00
Stephane Nicoll 7802176faa Remove Java 9 support
To align with Oracle's support policy, this commit only keeps Java 8 and
10. This effectively removes 1.7 as well.

Closes gh-662
2018-05-18 16:32:42 +02:00
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