From 2c32d13592cf2940845b834ae1455df35d7ba3c2 Mon Sep 17 00:00:00 2001 From: Scott Gerring Date: Wed, 19 Jul 2023 09:05:24 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d6312d348..b38781d2a 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,11 @@ Powertools for AWS Lambda (Java) is available in Maven Central. You can use your ``` -And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project: +Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project. A different configuration is need for projects on Java 8. -For Java 11+, use the following: +
+ Maven - Java 11 and newer + ```xml @@ -78,8 +80,11 @@ For Java 11+, use the following: ``` +
-For Java 8, use the following: +
+Maven - Java 8 + ```xml @@ -119,11 +124,12 @@ For Java 8, use the following: ``` -#### gradle +
-For Java 11+: +
+Gradle - Java 11+ - ```groovy +```groovy plugins { id 'java' id 'io.freefair.aspectj.post-compile-weaving' version '8.1.0' @@ -141,11 +147,13 @@ For Java 11+: sourceCompatibility = 11 targetCompatibility = 11 - ``` +``` +
-For Java8: +
+Gradle - Java 8 - ```groovy +```groovy plugins { id 'java' id 'io.freefair.aspectj.post-compile-weaving' version '6.6.3' @@ -163,10 +171,10 @@ For Java8: sourceCompatibility = 1.8 targetCompatibility = 1.8 - ``` - +``` +
-## Example +## Examples See the **[examples](examples)** directory for example projects showcasing usage of different utilities. From 2c6377ac38d15d173121f9c82cda2a2781399c79 Mon Sep 17 00:00:00 2001 From: Scott Gerring Date: Wed, 19 Jul 2023 09:49:20 +0200 Subject: [PATCH 2/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b38781d2a..0a7cd0112 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Powertools for AWS Lambda (Java) is available in Maven Central. You can use your ``` -Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project. A different configuration is need for projects on Java 8. +Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project. A different configuration is needed for projects on Java 8.
Maven - Java 11 and newer