File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 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:
3434### How to Use
3535
3636#### 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:
4438```
4539dependencies {
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"
4841}
4942```
5043
@@ -105,14 +98,14 @@ public class MyLambdaHandler implements TracingRequestHandler<Map<String, Object
10598* Gradle
10699
107100### Building
108- Run the following gradle task :
101+ Run the following command :
109102```
110- ./gradlew java-aws-lambda: jar
103+ ./gradlew jar
111104```
112105
113106This generates a jar artifact in the following subdirectory:
114107```
115- java-aws-lambda/java-aws-lambda/ build/libs/java-aws-lambda.jar
108+ java-aws-lambda/build/libs/java-aws-lambda.jar
116109```
117110
118111### Testing
You can’t perform that action at this time.
0 commit comments