Commit Graph

2205 Commits

Author SHA1 Message Date
Stephane Nicoll
4bd5893dd4 Consider CodeBlock's imports when added as an argument
Closes gh-1451
2023-07-31 15:46:52 +02:00
Stephane Nicoll
d15bcab31d Upgrade to Gradle 8.2.1
Closes gh-1449
2023-07-25 12:04:53 +02:00
Stephane Nicoll
0be9637bc4 Fix Gradle build with Kotlin DSL assertions
Closes gh-1448
2023-07-24 18:58:21 +02:00
Stephane Nicoll
6303ff725e Upgrade ubuntu version in CI image 2023-07-20 15:43:27 +02:00
Stephane Nicoll
f828ad9db7 Upgrade Java 17 version in CI image 2023-07-20 15:42:44 +02:00
Stephane Nicoll
7eacc2ba9c Upgrade to Spring Cloud Contract 4.0.3 2023-07-20 15:40:38 +02:00
Stephane Nicoll
ce0a2d6bf4 Polish
Remove fast profile and milestone repository as they aren't used
in practice.
2023-07-20 15:40:36 +02:00
Stephane Nicoll
faf4d9671c Upgrade to Spring Boot 3.1.2
Closes gh-1446
2023-07-20 15:31:01 +02:00
Stephane Nicoll
9da2820126 Merge pull request #1443 from dawidkreft
* pr/1443:
  Polish "Fix handling of source compatibility with recent Java versions"
  Fix handling of source compatibility with recent Java versions

Closes gh-1443
2023-07-18 15:16:48 +02:00
Stephane Nicoll
49acff2a4c Polish "Fix handling of source compatibility with recent Java versions"
See gh-1443
2023-07-18 15:11:40 +02:00
Dawid Kreft
6464c7df28 Fix handling of source compatibility with recent Java versions
See gh-1443
2023-07-18 15:11:20 +02:00
Stephane Nicoll
68ca360125 Merge pull request #1440 from KENNYSOFT
* pr/1440:
  Name Gradle 8 wrapper contributor bean consistently

Closes gh-1440
2023-07-12 11:23:34 +02:00
Hyeonmin Park
299b5c55e2 Name Gradle 8 wrapper contributor bean consistently
See gh-1440
2023-07-12 11:20:57 +02:00
Stephane Nicoll
0f06fa545c Use docker image for concourse-release-scripts
Closes gh-1439
2023-07-11 19:56:10 +02:00
Spring Builds
2648fdf52e Next development version (v0.20.1-SNAPSHOT) 2023-07-11 15:34:22 +00:00
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
Andy Wilkinson
2c361dec1e Upgrade to Spring Asciidoctor Backends 0.0.6
Closes gh-1408
2023-06-29 12:27:35 +01:00
Andy Wilkinson
148ee22e00 Add support for Gradle 8
Closes gh-1433
2023-06-27 13:10:50 +01: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
Prithvi singh
a0d98918c5 Use Java configuration for Gradle build
See gh-1427
2023-06-14 11:30:49 +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
Niklas Herder
26da5ee6aa Add support for Maven extensions
This commit adds support for adding extension entries to the Maven pom.

This is useful to be able to use plugins that are dependent on OS
version, for example, by extending with the os-maven plugin.

See gh-1290
2023-06-12 11:58:30 +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
Prithvi singh
99415bb062 Add build assertion support for Gradle with the Kotlin DSL
See gh-1412
2023-06-12 11:03:26 +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
1d9e6b5b7b Introduce class name
Closes gh-1425
2023-06-09 16:46:03 +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