Commit Graph
192 Commits
Author SHA1 Message Date
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
Stephane Nicoll 6d1058ea6e Merge branch '0.10.x'
Closes gh-1259
2021-08-22 09:13:30 +02:00
Stephane Nicoll a93a6d3439 Upgrade to Gradle 6.9.1
Closes gh-1258
2021-08-22 09:12:31 +02:00
Stephane Nicoll cece5479a0 Merge branch '0.10.x'
Closes gh-1257
2021-08-22 09:05:15 +02:00
Stephane Nicoll 082eabecf0 Upgrade to Maven 3.8.2
Closes gh-1256
2021-08-22 09:03:25 +02:00
Stephane Nicoll 5e2e8637af Upgrade to Gradle 7.1.1
Closes gh-1249
2021-07-08 08:29:21 +02:00
Stephane Nicoll 003542e0fa Upgrade to Gradle 7.0.2
Closes gh-1240
2021-05-20 18:36:03 +02:00
Stephane Nicoll 4f2f5a20c6 Upgrade to Gradle 6.9
Closes gh-1239
2021-05-20 18:30:30 +02:00
Stephane Nicoll f893653398 Upgrade to Gradle 6.9
Closes gh-1238
2021-05-20 18:24:22 +02:00