Commit Graph

168 Commits

Author SHA1 Message Date
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
Stephane Nicoll
016e1649a3 Polish 2021-04-21 09:14:56 +02:00
Stephane Nicoll
17df3b9b5d Handle both snapshots and releases enabled flags in Maven Pom
This commit improves the handling of repositories with Maven.
Previously, the writer wrongly assumed that the default for releases
and snapshots are true and false respectively. However, both defaults
are true which means that snapshots repository are considered for
releases, and releases repositories are considered for snapshots.

MavenRepository has now separate flags for those and the writer makes
sure to only update the `enabled` flag if the chosen value is not
true. This doesn't increase the content for repository definitions
while offering better performance for dependencies resolution.

Closes gh-1226
2021-04-20 20:20:41 +02:00
Stephane Nicoll
10d7e857c7 Remove Gradle 4 and 5 support
Closes gh-1218
2021-04-14 10:28:12 +02:00
Stephane Nicoll
b3c0f16422 Remove JUnit 4 support
This commit also upgrades the test suite to use a more recent version as
removing support for JUnit4 effectively removes support for those as
well.

Closes gh-1219
2021-04-13 17:45:59 +02:00
Stephane Nicoll
6377ac717f Add support for Gradle 7
Closes gh-1217
2021-04-13 17:43:40 +02:00
Stephane Nicoll
0d69976f5c Upgrade to Maven 3.8.1
Closes gh-1215
2021-04-05 09:34:10 +02:00
Stephane Nicoll
7b98aa354d Upgrade to Gradle 6.8.3
Closes gh-1192
2021-03-05 10:20:14 +01:00
Stephane Nicoll
7c1e8a171d Upgrade to Gradle 6.8.2
Closes gh-1175
2021-02-16 17:27:32 +01:00
Stephane Nicoll
3e9d66f8b1 Upgrade to Gradle 6.7.1
Closes gh-1163
2020-12-10 15:35:49 +01:00
Stephane Nicoll
c9fd0bffdf Polish 2020-12-06 15:54:48 +01:00
Stephane Nicoll
e77aca2211 Allow to map a Dependency BOM
This commit allows a BOM to be overridden using a dependency mapping.

Closes gh-1155
2020-11-30 09:30:50 +01:00
Stephane Nicoll
13d04c4285 Test wrapper for Gradle 6 2020-11-27 17:57:45 +01:00
Stephane Nicoll
54d104e2e2 Upgrade test infrastructure to more recent Spring Boot versions 2020-11-27 17:54:30 +01:00
Stephane Nicoll
9514753cc7 Apply temporary deterministic order
See gh-1153
2020-11-27 17:53:37 +01:00
Stephane Nicoll
b8289de7e0 Remove support for Spring Boot 1.x
Closes gh-1152
2020-11-27 17:53:26 +01:00
Stephane Nicoll
e9b3ca74c3 Add DevTools build customizers
Using Spring Boot DevTools requires customizers for both the Maven and
the Gradle build. While the library can't have an opinion about the id
of the "devtools" dependency, it can provide the logic with a
configurable dependency identifier.

This commit adds such configurable customizers.

Closes gh-1135
2020-11-13 16:15:13 +01:00
Stephane Nicoll
f2accaa7f7 Upgrade to Spring Boot 2.4.0
Closes gh-1145
2020-11-13 06:46:47 +01:00
Wouter Wijsman
875070a53d Ignore bin directory for Gradle-based projects with Eclipse
See gh-1141
2020-10-21 09:20:21 +02:00
Stephane Nicoll
86081e887a Upgrade to GMavenPlus 1.11.0
Closes gh-1140
2020-10-15 11:24:10 +02:00
Stephane Nicoll
bddac7d5df Polish "Upgrade to Gradle 6.6.1"
See gh-1118
2020-09-05 16:47:22 +02:00
Karuppiah Natarajan
3a75619535 Upgrade to Gradle 6.6.1
See gh-1118
2020-09-05 16:47:05 +02:00
Andy Wilkinson
3ed1a1dd7e Configure gitignore negations more precisely
Previously we negated the exclusions for all of src/main and src/test.
This was done to prevent any content under src/main or src/test that
matched the build output directories (build/ out/, and target/) from
being ignored. While concise, this approach has proven to be overly
broad as it undoes all exclusions and not just those for the build
output directories.

This commit switches to individual negations for each of the build
output directories that we ignore. While more verbose, this narrows
the negations to match their original intent and perhaps also makes
it easier to infer that intent from the generated .gitignore file.

Closes gh-1106
2020-07-09 16:57:30 +01:00
Stephane Nicoll
f9a7404c39 Harmonize Kotlin's jvmTarget to chosen JVM generation
Closes gh-1084
2020-06-10 15:56:55 +02:00
Andy Wilkinson
ca4bd57139 Remove redundant junit-vintage-engine exclusion with Boot 2.4
Spring Boot 2.4 has switched from providing JUnit 5 in the test starter
(JUnit Jupiter and the JUnit Vintage Engine) to only providing JUnit
Jupiter. As such, the exclusion of junit-vintage-engine is no longer
required for projects that are using Spring Boot 2.4.

Closes gh-1095
2020-06-05 15:25:26 +01:00