File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,10 @@ Below are a list of the collected exception attributes:
34
34
### How to Use
35
35
36
36
#### Add Dependency
37
- You can either build the project locally as described below and then add the jar dependency into your gradle (or maven) file:
38
- ``` groovy
39
- dependencies {
40
- compile files('/path/to/java-aws-lambda.jar')
41
- }
42
- ```
43
- Or you can add the dependency like so:
37
+ You can add the dependency by adding the following to your ` build.gradle ` file:
44
38
```
45
39
dependencies {
46
- // TODO verify this is correct when released
47
- implementation "com.newrelic.opentracing.aws:java-aws-lambda:X.X.X"
40
+ compile "com.newrelic.opentracing.aws:java-aws-lambda:X.X.X"
48
41
}
49
42
```
50
43
@@ -105,14 +98,14 @@ public class MyLambdaHandler implements TracingRequestHandler<Map<String, Object
105
98
* Gradle
106
99
107
100
### Building
108
- Run the following gradle task :
101
+ Run the following command :
109
102
```
110
- ./gradlew java-aws-lambda: jar
103
+ ./gradlew jar
111
104
```
112
105
113
106
This generates a jar artifact in the following subdirectory:
114
107
```
115
- java-aws-lambda/java-aws-lambda/ build/libs/java-aws-lambda.jar
108
+ java-aws-lambda/build/libs/java-aws-lambda.jar
116
109
```
117
110
118
111
### Testing
You can’t perform that action at this time.
0 commit comments