You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-112
Original file line number
Diff line number
Diff line change
@@ -8,139 +8,32 @@ Java 1.8 or later
8
8
9
9
## Installation
10
10
11
-
### Authentication
12
-
13
-
To authenticate with the Github package repository, you will need to generate a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic). This should have at least `read:packages` scope. Please keep the token safe for the next stage of the setup procedure.
14
-
15
11
### Gradle users
16
12
17
-
Using the Personal Access Token generated earlier, you will need to [setup Gradle](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry) to use this token.
18
-
19
-
To do so you will need to create a `gradle.properties` file to include your personal access token. Create a new `gradle.properties` file in your repository and replace `GITHUB_USERNAME` and `GITHUB_TOKEN` with your username and your previously generated token.
20
-
21
-
```yaml
22
-
gpr.user=<GITHUB_USERNAME>
23
-
gpr.key=<GITHUB_TOKEN>
24
-
```
25
-
26
-
Once this is done, add your dependency to your project's build.gradle file:
13
+
To add the SDK as a dependency, please add the following to your project's `build.gradle` file:
Using the Personal Access Token generated earlier, you will need to [setup Maven](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-with-a-personal-access-token) to use this token.
47
-
48
-
To do so you will need to edit your ~/.m2/settings.xml file to include your personal access token. Create a new ~/.m2/settings.xml file if one doesn't exist. Be sure to replace `GITHUB_USERNAME` and `GITHUB_TOKEN` with your username and your previously generated token.
Once this is done, add your dependency to your project's POM. To get the latest version, please visit the Github [package](https://github.com/anduril/anduril-java/packages/2221565).
24
+
To add the SDK as a dependency, please add the following to your project's `pom.xml` file:
0 commit comments