Skip to content

Commit 06344c2

Browse files
committed
change gradle tasks and remove local dependency reference for gradle
1 parent 60a1d59 commit 06344c2

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff 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
```
4539
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"
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

113106
This 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

0 commit comments

Comments
 (0)