Stephane Nicoll
2e98acd336
Tolerate incomplete models
...
This commit improves the resolution of plugins to ignore a non fatal
resolution of the model.
See gh-1227
2023-07-11 16:45:07 +02:00
Stephane Nicoll
e91f3f3b16
Add support for resolving plugin versions
...
This commit adds support for resolving the versions of managed plugins
in a POM.
Closes gh-1438
2023-07-11 15:07:41 +02:00
Stephane Nicoll
8c5c50e196
Deprecate support for Gradle 6
...
Closes gh-1437
2023-07-10 16:26:23 +02:00
Stephane Nicoll
74419308bd
Disable CGLIB proxies by default with ProjectGenerationConfiguration
...
Closes gh-1429
2023-07-07 19:35:22 +02:00
Stephane Nicoll
3dd1036926
Upgrade to Gradle 7.6.2
...
Closes gh-1436
2023-07-07 16:56:38 +02:00
Stephane Nicoll
e597406564
Upgrade to Maven 3.9.3
...
Closes gh-1435
2023-07-07 16:56:38 +02:00
Stephane Nicoll
4b1089ee9c
Upgrade build to Maven 3.9.3
2023-07-07 16:56:38 +02:00
Stephane Nicoll
bacfd712c5
Upgrade to Flatten Maven Plugin 1.5.0
2023-07-07 16:56:38 +02:00
Stephane Nicoll
3e1dd311c2
Upgrade to Xml Maven Plugin 1.1.0
2023-07-07 16:56:37 +02:00
Stephane Nicoll
aff6839457
Upgrade to Maven Surefire Plugin 3.1.2
2023-07-07 16:44:33 +02:00
Stephane Nicoll
3ed5bbd2da
Upgrade to Maven Dependency Plugin 3.6.0
2023-07-07 16:43:24 +02:00
Stephane Nicoll
ac5df332be
Upgrade to Asciidoctor Maven Plugin 2.2.4
2023-07-07 16:42:31 +02:00
Stephane Nicoll
ab40319457
Upgrade to Download Maven Plugin 1.6.8
2023-07-07 16:42:02 +02:00
Stephane Nicoll
1f5bc02389
Upgrade to Maven Checkstyle Plugin 3.3.0
2023-07-07 16:41:10 +02:00
Stephane Nicoll
bf42d5005b
Upgrade to Spring Boot 3.1.1
...
Closes gh-1432
2023-06-22 17:59:56 +02:00
Stephane Nicoll
4590c1af7e
Add partial text contains with resource to TextAssert
...
Closes gh-1431
2023-06-22 16:07:26 +02:00
Stephane Nicoll
a56f5b2068
Add support for appending task attributes
...
This commit add support for appending task attributes rather than only
setting them. This is useful for Kotlin's compiler arguments as these
can be augmented by other plugins.
Closes gh-1368
2023-06-16 11:28:17 +02:00
Stephane Nicoll
9f80fa7522
Merge pull request #1427 from prithvitewatia
...
* pr/1427:
Polish "Use Java configuration for Gradle build"
Use Java configuration for Gradle build
Closes gh-1427
2023-06-14 11:33:30 +02:00
Stephane Nicoll
711d2c36da
Polish "Use Java configuration for Gradle build"
...
See gh-1427
2023-06-14 11:31:08 +02:00
Stephane Nicoll
d48f7636ed
Merge pull request #1290 from herder
...
* pr/1290:
Polish "Add support for Maven extensions"
Add support for Maven extensions
Closes gh-1290
2023-06-12 12:19:56 +02:00
Stephane Nicoll
4d574a9e01
Polish "Add support for Maven extensions"
...
See gh-1290
2023-06-12 12:19:39 +02:00
Stephane Nicoll
7f1208a289
Merge pull request #1412 from prithvitewatia
...
* pr/1412:
Polish "Add build assertion support for Gradle with the Kotlin DSL"
Add build assertion support for Gradle with the Kotlin DSL
Closes gh-1412
2023-06-12 11:31:48 +02:00
Stephane Nicoll
c99c8c0bb3
Polish "Add build assertion support for Gradle with the Kotlin DSL"
...
See gh-1412
2023-06-12 11:28:11 +02:00
Stephane Nicoll
6ca2dcc5cd
Add support for annotating parameters
...
Closes gh-1002
2023-06-12 10:59:07 +02:00
Stephane Nicoll
eb618d5dd7
Overhaul annotation support for code generation
...
This commit improves the annotation support so that it handles more
attribute types. An AnnotationContainer is introduced that permits to
further configure an annotation, in particular attribute values can be
added, and an attribute can be removed.
This commit adds a number of deprecations:
* Annotation#getName has been deprecated in favor of
Annotation#getClasName.
* Annotable#annotate has been deprecated in favor of
Annotable#annotations()#add.
* Annotable#getAnnotations has been deprecated in favor of
Annotable#annotations()#values.
* Annotation#name has been deprecated in favor of Annotation#of.
* Annotation.Builder#attribute has been deprecated in favor of
Annotation.Builder#set.
In particular, the type of the attribute does not need to be specified
as it is infered from the specified values. Use Annotation.Builder#add
or Annotation.Builder#set depending on your needs.
Closes gh-1424
2023-06-12 09:15:50 +02:00
Stephane Nicoll
d22201b2d6
Allow CodeBlock to be used by $L
2023-06-08 12:40:35 +02:00
Stephane Nicoll
4c77196504
Avoid imports from current package
...
Closes gh-1421
2023-06-07 15:44:48 +02:00
Stephane Nicoll
8acbad503a
Introduce CodeBlock
...
This commit introduces a way to build more complex statement, including
multi statements and nested method invocations. CodeBlock is heavily
inspired from Square's JavaPoet project.
A CodeBlock is an immutable piece of code that provide the imports that
are needed and can emit code to an IndentingWriter.
This commit also migrates the use of expressions in Java, Kotlin, and
Groovy to the newly introduced CodeBlock. Those are deprecated in
favor of CodeBlock.
Closes gh-1043
2023-06-07 12:01:43 +02:00
Stephane Nicoll
be0d541d4d
Upgrade Java version in CI image
2023-06-01 15:11:05 +02:00
Stephane Nicoll
58f1b946d4
Use bullet list for compose services
...
Closes gh-1419
2023-06-01 13:26:11 +02:00
Stephane Nicoll
2a9d163de1
Merge pull request #1417 from mhalbritter
...
* pr/1417:
Polish "Add support for Docker Compose"
Add support for Docker Compose
Closes gh-1417
2023-05-31 16:59:12 +02:00
Stephane Nicoll
9995d6a2e9
Polish "Add support for Docker Compose"
...
See gh-1417
2023-05-31 16:58:29 +02:00
Stephane Nicoll
f44cb054cd
Upgrade to Maven Dependency Plugin 3.5.0
2023-05-25 14:43:42 +02:00
Stephane Nicoll
8f4f92e3ac
Upgrade to Asciidoctor Maven Plugin 2.2.3
2023-05-25 14:42:53 +02:00
Stephane Nicoll
a7cb30382b
Upgrade to Build Helper Maven Plugin 3.4.0
2023-05-25 14:42:07 +02:00
Stephane Nicoll
9f3f72f2f6
Upgrade to Maven Assembly Plugin 3.6.0
2023-05-25 14:41:25 +02:00
Stephane Nicoll
23b1600695
Upgrade to Maven 3.9.2
...
Closes gh-1416
2023-05-24 14:12:45 +02:00
Stephane Nicoll
0597889d74
Upgrade to Maven Source Plugin 3.3.0
2023-05-24 14:12:44 +02:00
Stephane Nicoll
6501efff72
Upgrade to Maven Checkstyle Plugin 3.2.1
2023-05-24 14:12:44 +02:00
Stephane Nicoll
16324fdd08
Merge pull request #1415 from prithvitewatia
...
* pr/1415:
Polish contribution
Upgrade to Maven Resolver 1.9.7 and Maven Resolver Provider 3.9.1
Closes gh-1415
2023-05-24 13:47:39 +02:00
Stephane Nicoll
d79670c72a
Polish contribution
...
See gh-1415
2023-05-24 13:45:50 +02:00
Stephane Nicoll
e8438e79bb
Merge pull request #1406 from mhalbritter
...
* pr/1406:
Polish "Make optional/developmentOnly more generic"
Make optional/developmentOnly more generic
Closes gh-1406
2023-05-24 13:13:04 +02:00
Stephane Nicoll
4f85c00e13
Polish "Make optional/developmentOnly more generic"
...
See gh-1406
2023-05-24 13:09:45 +02:00
Stephane Nicoll
38a4926e76
Upgrade to Spring Boot 3.1.0
2023-05-19 08:54:05 +02:00
Stephane Nicoll
cd7e826048
Upgrade to spring javaformat 0.0.39
2023-05-18 11:54:50 +02:00
Stephane Nicoll
055bb24911
Upgrade Ubuntu version in CI images
2023-05-04 16:16:40 +02:00
Stephane Nicoll
3cd1f9af31
Upgrade to Spring Boot 3.0.6
2023-04-21 16:41:54 +02:00
Stephane Nicoll
fd76c7d0a3
Document default metadata cache expiration policy
...
Closes gh-1391
2023-04-19 13:30:39 +02:00
Stephane Nicoll
447e9e438e
Add support for Maven 3.9.x
...
This commit switches the Maven wrapper to Maven 3.9 when Spring Boot 3.1
or later is selected. The previous 3.8 version is kept for older
versions.
Closes gh-1402
2023-04-19 12:38:05 +02:00
Stephane Nicoll
0de726ef0d
Merge pull request #1401 from rijusougata13
...
* pr/1401:
Polish "Replace @Controller with @RestController"
Replace @Controller with @RestController
Closes gh-1401
2023-04-06 13:18:51 +02:00
Stephane Nicoll
7ed74b28eb
Polish "Replace @Controller with @RestController"
...
See gh-1401
2023-04-06 13:16:02 +02:00
Stephane Nicoll
bf5326f30a
Polish
2023-04-03 16:17:07 +02:00
Stephane Nicoll
a27a57d0f8
Upgrade to Maven Deploy Plugin 3.1.1
2023-04-03 16:14:37 +02:00
Stephane Nicoll
83649e483a
Upgrade to Commons Compress 1.23.0
...
Closes gh-1398
2023-04-03 15:22:02 +02:00
Stephane Nicoll
5e97a01e99
Upgrade to spring javaformat 0.0.38
2023-04-03 15:21:03 +02:00
Stephane Nicoll
32b5db7a5a
Upgrade build to Maven 3.9.1
...
Closes gh-1396
2023-04-03 15:21:03 +02:00
Stephane Nicoll
cb44b20677
Upgrade to Flatten Maven Plugin 1.4.1
...
See gh-1396
2023-04-03 15:21:02 +02:00
Stephane Nicoll
de339c9402
Upgrade to Maven Surefire Plugin 3.0.0
...
See gh-1396
2023-04-03 15:21:02 +02:00
Stephane Nicoll
bf27cfcf01
Upgrade to Maven Resources Plugin 3.3.1
2023-04-03 15:21:02 +02:00
Stephane Nicoll
a9de8efd16
Upgrade to Maven Javadoc Plugin 3.5.0
2023-04-03 15:21:02 +02:00
Stephane Nicoll
24ad150df9
Upgrade to Maven Compiler Plugin 3.11.0
2023-04-03 15:21:02 +02:00
Stephane Nicoll
ea6244f0a9
Upgrade to Maven Assembly Plugin 3.5.0
2023-04-03 15:21:01 +02:00
Stephane Nicoll
0f9decfffc
Upgrade to Spring Cloud Contract 4.0.2
...
Closes gh-1397
2023-04-03 15:21:00 +02:00
Stephane Nicoll
a4c18a11ba
Upgrade to Spring Boot 3.0.5
2023-04-03 14:34:30 +02:00
Stephane Nicoll
d1a384f6a5
Upgrade Java 17 version in CI image
2023-04-03 14:33:45 +02:00
Stephane Nicoll
ddaaa82d9b
Switch CI image to Ubuntu Jammy
2023-04-03 14:32:47 +02:00
Stephane Nicoll
89e59ddca7
Upgrade to Spring Boot 3.0.0
...
Closes gh-1342
2022-11-24 20:28:05 +01:00
Stephane Nicoll
9546fb4b8f
Upgrade to maven resources plugin 3.3.0
2022-11-24 16:59:59 +01:00
Stephane Nicoll
1c4f6cda6e
Upgrade to maven javadoc plugin 3.4.1
2022-11-24 16:59:26 +01:00
Stephane Nicoll
5e7de82dab
Upgrade to maven jar plugin 3.3.0
2022-11-24 16:59:08 +01:00
Stephane Nicoll
f85d1ac68c
Upgrade to maven assembly plugin 3.4.2
2022-11-24 16:58:46 +01:00
Stephane Nicoll
eb5acd8edd
Upgrade to maven antrun plugin 3.1.0
2022-11-24 16:58:27 +01:00
Stephane Nicoll
2438251457
Upgrade to maven compiler plugin 3.10.1
2022-11-24 16:58:00 +01:00
Stephane Nicoll
b3fdd35f00
Configure maven-compiler-plugin to use -parameters
...
Closes gh-1349
2022-11-24 16:55:32 +01:00
Stephane Nicoll
6fcd60d9ae
Merge pull request #1345 from nirbhay24
...
* pr/1345:
Polish "Handle Unicode in Project Generation"
Handle Unicode in Project Generation
Closes gh-1345
2022-11-24 11:27:41 +01:00
Stephane Nicoll
ade3b0af9e
Polish "Handle Unicode in Project Generation"
...
See gh-1345
2022-11-24 11:24:40 +01:00
Stephane Nicoll
39208e3cb0
Merge pull request #1346 from DominiqueComte
...
* pr/1346:
Polish reference guide
Closes gh-1346
2022-11-23 10:17:55 +01:00
Stephane Nicoll
6b843967b2
Add dialect support to Type metadata
...
Closes gh-1344
2022-11-15 15:15:16 +01:00
Stephane Nicoll
3ccc2011cd
Polish
2022-11-15 13:40:19 +01:00
Stephane Nicoll
301cf2224f
Polish
2022-11-12 16:33:02 +01:00
Stephane Nicoll
59935b8175
Make sure that core Gradle plugins are applied first
...
Closes gh-1343
2022-11-12 16:33:02 +01:00
Stephane Nicoll
186fdeaa2f
Allow arbitrary code snippets to be added in a Gradle build
...
This commit provides an escape hatch for the DSL that we currently don't
support in a gradle build. Snippets can be added with a callback to an
IndentingWriter. For convenience, imports can be added as well.
Snippets are rendered at the end of the file.
Closes gh-1079
2022-11-12 16:33:01 +01:00
Stephane Nicoll
dd7a704d3b
Fix build on Windows
2022-11-12 16:33:01 +01:00
Stephane Nicoll
371a02622c
Use test blocks in assertions
2022-11-10 16:37:40 +01:00
Stephane Nicoll
997857c775
Fix Windows build to use Java 17
2022-11-10 13:27:54 +01:00
Stephane Nicoll
ec48337dac
Use Java 17 constructs
2022-11-10 13:25:33 +01:00
Stephane Nicoll
d88285934c
Build against Java 17
...
See gh-1342
2022-11-10 13:25:32 +01:00
Stephane Nicoll
ac16ddc8f5
Initiate Spring Initializr 0.20.0 shapshots
2022-11-10 13:23:33 +01:00
Stephane Nicoll
1d95f268bc
Merge branch '0.13.x'
2022-11-10 13:20:42 +01:00
Stephane Nicoll
97d9b13257
Initiate 0.13.x branch
2022-11-10 13:18:52 +01:00
Stephane Nicoll
2cc5f8bcef
Fix YAML snippets indentation
2022-11-09 14:59:54 +01:00
Stephane Nicoll
abe6296412
Upgrade to Spring Boot 2.7.5
...
Closes gh-1337
2022-10-20 20:02:43 +02:00
Stephane Nicoll
6b709519a2
Upgrade to Spring Cloud Contract 3.1.4
...
Closes gh-1336
2022-10-19 08:36:16 +02:00
Stephane Nicoll
8b8492be4b
Upgrade to Commons Text 1.10.0
...
Closes gh-1335
2022-10-19 08:36:15 +02:00
Stephane Nicoll
9059f6f2fb
Upgrade to Gradle 6.9.3
...
Closes gh-1334
2022-10-19 08:26:52 +02:00
Stephane Nicoll
6c2a4b1fe4
Upgrade to Gradle 7.5.1
...
Closes gh-1333
2022-10-19 08:24:04 +02:00
Stephane Nicoll
33576ddaed
Upgrade Ubuntu version in CI images
2022-10-13 11:30:37 +02:00
Stephane Nicoll
d8c3a13ad5
Upgrade to spring javaformat 0.0.35
2022-10-06 07:55:02 +02:00
Stephane Nicoll
c8da0769d1
Upgrade to Spring Boot 2.7.4
2022-09-22 13:55:55 +02:00
Stephane Nicoll
a269aad627
Upgrade Ubuntu version in CI images
2022-09-08 10:58:40 +02:00