File tree Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
79
79
``` groovy
80
80
plugins{
81
81
id 'java'
82
- id 'aspectj.AspectjGradlePlugin' version '0.0.3 '
82
+ id 'aspectj.AspectjGradlePlugin' version '0.0.6 '
83
83
}
84
84
repositories {
85
85
jcenter()
@@ -94,8 +94,10 @@ dependencies {
94
94
}
95
95
```
96
96
97
- ** Note:** Please add ` aspectjVersion = '1.9.6' ` to the ` gradle.properties ` file. The aspectj plugin works at the moment with gradle 5.x only.
98
- Please refer to [ open issue] ( https://github.com/awslabs/aws-lambda-powertools-java/issues/146 ) for more details.
97
+ ** Note:**
98
+
99
+ Please add ` aspectjVersion = '1.9.6' ` to the ` gradle.properties ` file. The aspectj plugin works at the moment with gradle 5.x only if
100
+ you are using ` java 8 ` as runtime. Please refer to [ open issue] ( https://github.com/awslabs/aws-lambda-powertools-java/issues/146 ) for more details.
99
101
100
102
## Environment variables
101
103
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' java'
3
- id ' aspectj.AspectjGradlePlugin' version ' 0.0.3 '
3
+ id ' aspectj.AspectjGradlePlugin' version ' 0.0.6 '
4
4
}
5
5
6
6
repositories {
@@ -23,6 +23,9 @@ dependencies {
23
23
implementation ' software.amazon.lambda:powertools-parameters:1.0.0'
24
24
aspectpath ' software.amazon.lambda:powertools-parameters:1.0.0'
25
25
26
+ implementation ' software.amazon.lambda:powertools-validation:1.0.0'
27
+ aspectpath ' software.amazon.lambda:powertools-validation:1.0.0'
28
+
26
29
implementation ' com.amazonaws:aws-lambda-java-core:1.2.0'
27
30
implementation ' com.amazonaws:aws-lambda-java-events:3.1.0'
28
31
Original file line number Diff line number Diff line change 7
7
<packaging >jar</packaging >
8
8
<name >A sample Hello World created for SAM CLI.</name >
9
9
<properties >
10
- <maven .compiler.source>1.8 </maven .compiler.source>
11
- <maven .compiler.target>1.8 </maven .compiler.target>
10
+ <maven .compiler.source>11 </maven .compiler.source>
11
+ <maven .compiler.target>11 </maven .compiler.target>
12
12
<log4j .version>2.13.2</log4j .version>
13
13
</properties >
14
14
80
80
<build >
81
81
<plugins >
82
82
<plugin >
83
- <groupId >org.codehaus.mojo </groupId >
83
+ <groupId >com.nickwongdev </groupId >
84
84
<artifactId >aspectj-maven-plugin</artifactId >
85
- <version >1.11 </version >
85
+ <version >1.12.6 </version >
86
86
<configuration >
87
87
<source >${maven.compiler.source} </source >
88
88
<target >${maven.compiler.target} </target >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Resources:
16
16
Properties :
17
17
CodeUri : HelloWorldFunction
18
18
Handler : helloworld.App::handleRequest
19
- Runtime : java8
19
+ Runtime : java11
20
20
MemorySize : 512
21
21
Environment : # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
22
22
Variables :
@@ -35,7 +35,7 @@ Resources:
35
35
Properties :
36
36
CodeUri : HelloWorldFunction
37
37
Handler : helloworld.AppValidation::handleRequest
38
- Runtime : java8
38
+ Runtime : java11
39
39
MemorySize : 512
40
40
Tracing : Active
41
41
Events :
@@ -50,7 +50,7 @@ Resources:
50
50
Properties :
51
51
CodeUri : HelloWorldFunction
52
52
Handler : helloworld.AppStream::handleRequest
53
- Runtime : java8
53
+ Runtime : java11
54
54
MemorySize : 512
55
55
Tracing : Active
56
56
Environment :
@@ -68,7 +68,7 @@ Resources:
68
68
Properties :
69
69
CodeUri : HelloWorldFunction
70
70
Handler : helloworld.AppParams::handleRequest
71
- Runtime : java8
71
+ Runtime : java11
72
72
MemorySize : 512
73
73
Tracing : Active
74
74
Policies :
@@ -148,7 +148,7 @@ Resources:
148
148
Properties :
149
149
CodeUri : HelloWorldFunction
150
150
Handler : helloworld.AppSqsEvent::handleRequest
151
- Runtime : java8
151
+ Runtime : java11
152
152
MemorySize : 512
153
153
Tracing : Active
154
154
Policies :
@@ -174,7 +174,7 @@ Resources:
174
174
Properties :
175
175
CodeUri : HelloWorldFunction
176
176
Handler : helloworld.AppSqsEventUtil::handleRequest
177
- Runtime : java8
177
+ Runtime : java11
178
178
MemorySize : 512
179
179
Tracing : Active
180
180
Policies :
You can’t perform that action at this time.
0 commit comments