Commit Graph
200 Commits
Author SHA1 Message Date
Stephane Nicoll 8c5c50e196 Deprecate support for Gradle 6
Closes gh-1437
2023-07-10 16:26:23 +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
Andy Wilkinson 148ee22e00 Add support for Gradle 8
Closes gh-1433
2023-06-27 13:10:50 +01: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
Prithvi singh a0d98918c5 Use Java configuration for Gradle build
See gh-1427
2023-06-14 11:30:49 +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 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 58f1b946d4 Use bullet list for compose services
Closes gh-1419
2023-06-01 13:26:11 +02:00
Stephane Nicoll 9995d6a2e9 Polish "Add support for Docker Compose"
See gh-1417
2023-05-31 16:58:29 +02:00
Moritz Halbritter 8430cccecf Add support for Docker Compose
This commit adds the necessary infrastructure to design and contribute
a compose file to the project. ComposeHelpDocumentCustomizer can be
used to write out a section into the help file containing a table
listing all the services with their images and tags.

See gh-1417
2023-05-31 16:58:28 +02:00
Stephane Nicoll 23b1600695 Upgrade to Maven 3.9.2
Closes gh-1416
2023-05-24 14:12:45 +02:00
Stephane Nicoll 4f85c00e13 Polish "Make optional/developmentOnly more generic"
See gh-1406
2023-05-24 13:09:45 +02:00
Moritz Halbritter be3eaf480d Make optional/developmentOnly more generic
See gh-1406
2023-05-24 13:09:30 +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 5e97a01e99 Upgrade to spring javaformat 0.0.38 2023-04-03 15:21:03 +02:00
Andy Wilkinson ff8b7237ce Polish "Vary Kotlin stdlib artifact ID depending on the version of Kotlin"
See gh-1386
2023-02-27 13:03:47 +00:00
KotlinIsland 59e50daf54 Vary Kotlin stdlib artifact ID depending on the version of Kotlin
See gh-1386
2023-02-27 13:03:11 +00:00
Andy Wilkinson c8ab4e71bd Polish "Don't include kotlin stdlib for gradle builds"
See gh-1376
2023-02-27 12:45:10 +00:00
KotlinIsland 3f1e44b7d3 Don't include kotlin stdlib for gradle builds
See gh-1376
2023-02-27 12:42:11 +00:00
Andy Wilkinson 45ae198c02 Upgrade to Gradle 7.6.1
Closes gh-1383
2023-02-24 19:24:09 +00:00
Andy Wilkinson a619180cbf Move Maven wrapper files to correct location
See gh-1382
2023-02-24 17:46:22 +00:00
Andy Wilkinson abfaf026de Upgrade to Maven 3.8.7
Closes gh-1382
2023-02-24 17:27:51 +00:00
Brian Clozel d9fb4b05b4 Upgrade to Gradle 7.6
Closes gh-1361
2022-12-20 10:17:14 +01:00
Stephane Nicoll 89e59ddca7 Upgrade to Spring Boot 3.0.0
Closes gh-1342
2022-11-24 20:28:05 +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 ec48337dac Use Java 17 constructs 2022-11-10 13:25:33 +01: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 e629d661eb Upgrade to Maven 3.8.6
Closes gh-1323
2022-07-20 15:42:34 +02:00
Stephane Nicoll 4533984a3e Upgrade to Gradle 7.5
Closes gh-1322
2022-07-20 15:36:27 +02:00
Stephane Nicoll 8fd71272b5 Upgrade to Apache Maven 3.8.5
Closes gh-1315
2022-06-07 09:03:38 +02:00
Stephane Nicoll 6bbdc608b2 Add support for Groovy 4
Closes gh-1312
2022-04-27 09:12:51 +02:00
Stephane Nicoll 443d167d9b Upgrade to GMavenPlus 1.13.1
Closes gh-1311
2022-04-27 08:57:44 +02:00
Stephane Nicoll a66ffa7f05 Upgrade to Gradle 7.4.1
Closes gh-1307
2022-03-10 09:41:57 +01:00
Stephane Nicoll ef90803906 Fix generation of links with {bootVersion}
This commit makes sure to use the currently selected Spring Boot
version, rather than the default one.

Closes gh-1306
2022-03-09 14:57:48 +01:00
Stephane Nicoll 08ceaa81dd Upgrade to Gradle 7.4
Closes gh-1304
2022-02-11 09:16:17 +01:00
Vedran Pavic 27fc9d4067 Ensure Gradle tasks are configured lazily
At present, generated Gradle build scripts that use Groovy DSL configure
tasks eagerly. This is both suboptimal and actually not aligned with the
generated build scripts that use Kotlin DSL, which configures tasks
lazily.

This commit updates `GroovyDslGradleBuildWriter` to ensure tasks are
configured lazily.

See gh-1292
2022-01-22 11:53:52 +01:00
Stephane Nicoll a961c52450 Add support for configuring a Maven parent relative path
Closes gh-1296
2022-01-22 11:20:06 +01:00
Stephane Nicoll 5a4e7fac95 Upgrade to Gradle 7.3.3
Closes gh-1299
2022-01-21 14:00:26 +01:00
Stephane Nicoll a6146e4d78 Upgrade to Maven 3.8.4
Closes gh-1298
2022-01-21 14:00:26 +01:00
Stephane Nicoll 7dab3f2268 Migrate to the new Maven Wrapper
Closes gh-1294
2022-01-10 14:11:19 +01:00
Stephane Nicoll d9a5b4b581 Upgrade to Gradle 6.9.2
Closes gh-1293
2022-01-05 09:57:39 +01:00
Rémi Bleuse b1d8eec8de Upgrade to Gradle 7.3.2
See gh-1289
2021-12-17 15:46:54 +01:00
Rémi Bleuse 832dc12626 Upgrade to Gradle 7.3.1
See gh-1287
2021-12-02 10:16:33 +01:00
Sergei Portnov 60c07b8d37 Upgrade to Gradle 7.3
See gh-1282
2021-11-21 11:55:07 +01:00
Stephane Nicoll e51bf5a1ea Upgrade to Apache Maven 3.8.3
Closes gh-1273
2021-10-22 10:13:27 +02:00
Stephane Nicoll 40587cfbd5 Upgrade to Gradle 7.2
Closes gh-1265
2021-09-23 17:22:10 +02:00