Skip to content

Commit fbaf5c8

Browse files
committed
Update README to remove local dependency section
1 parent 8a137f1 commit fbaf5c8

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ Exception log:
3333

3434
## How to Use
3535

36-
1. Add the `java-aws-lambda` dependency to your project.
37-
- **Option A:** [Build the project from sources](#build-the-project) and [add the jar to your project as a Gradle dependency](#add-local-artifact)
38-
- **Option B:** [Add gradle or maven dependency to your project](#add-maven-artifact)
36+
1. [Add the `java-aws-lambda` dependency to your Gradle project](#add-artifact-to-gradle-project)
3937
2. Implement the `TracingRequestHandler` interface as shown in the [example](#example-usage), defining the Lambda function input and output types that your function requires.
4038
3. Override the `doHandleRequest` method from the interface and execute your function logic within it. *Note:* If you are refactoring a pre-existing Lambda handler to take advantage of this SDK's tracing request handler make sure that it overrides `doHandleRequest` but not `handleRequest`.
4139
4. Register the OpenTracing Tracer of your choice (e.g. New Relic, Jaeger, etc).
@@ -52,18 +50,9 @@ Artifact: `java-aws-lambda/build/libs/java-aws-lambda.jar`
5250

5351
Include the jar by adding it as a dependency in your `build.gradle` file:
5452

55-
#### Add Local Artifact
56-
57-
```groovy
58-
dependencies {
59-
compile files('/path/to/java-aws-lambda.jar')
60-
}
61-
```
62-
63-
#### Add Maven Artifact
6453
```groovy
6554
dependencies {
66-
// TODO verify these are correct when released
55+
// TODO verify this is correct when released
6756
implementation "com.newrelic.opentracing.aws:java-aws-lambda:X.X.X"
6857
}
6958
```

0 commit comments

Comments
 (0)