Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add the dependency in your `pom.xml` file:
<dependency>
<groupId>com.anduril</groupId>
<artifactId>lattice-sdk</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```

Expand Down Expand Up @@ -103,9 +103,9 @@ When the API returns a non-success status code (4xx or 5xx response), an API exc
```java
import com.anduril.core.AndurilApiApiException;

try {
try{
client.entities().longPollEntityEvents(...);
} catch (AndurilApiApiException e) {
} catch (AndurilApiApiException e){
// Do something with the API exception...
}
```
Expand Down
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ java {

group = 'com.anduril'

version = '3.1.0'
version = '3.2.0'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -79,21 +79,21 @@ publishing {
maven(MavenPublication) {
groupId = 'com.anduril'
artifactId = 'lattice-sdk'
version = '3.1.0'
version = '3.2.0'
from components.java
pom {
name = 'Anduril Industries, Inc.'
description = 'Anduril Lattice SDK for Java'
url = 'https://developer.anduril.com'
name = 'anduril'
description = 'The official SDK of anduril'
url = 'https://buildwithfern.com'
licenses {
license {
name = 'Anduril Lattice Software Development Kit License Agreement'
name = 'Custom License (LICENSE)'
}
}
developers {
developer {
name = 'Anduril Industries, Inc.'
email = 'lattice-[email protected]'
name = 'anduril'
email = '[email protected]'
}
}
scm {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/anduril/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ private ClientOptions(
this.headers.putAll(headers);
this.headers.putAll(new HashMap<String, String>() {
{
put("User-Agent", "com.anduril:lattice-sdk/3.1.0");
put("User-Agent", "com.anduril:lattice-sdk/3.2.0");
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.anduril.fern:api-sdk");
put("X-Fern-SDK-Version", "3.1.0");
put("X-Fern-SDK-Version", "3.2.0");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down