Skip to content

Commit

Permalink
release(v0.0.4): with publishing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Sep 21, 2023
1 parent bee1c73 commit 7e5a7cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## v0.0.4
## v0.0.3

### [0.0.3](https://github.com/openfga/java-sdk/compare/v0.0.2...v0.0.3) (2023-09-19)
### [0.0.4](https://github.com/openfga/java-sdk/compare/v0.0.2...v0.0.4) (2023-09-21)

- fix: publishing to maven central

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
apply from: 'publish.gradle'

group = 'dev.openfga'
version = '0.0.3'
version = '0.0.4'

repositories {
mavenCentral()
Expand Down
4 changes: 2 additions & 2 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publishing {
pom {
group = 'dev.openfga'
name = 'openfga-sdk'
version = '0.0.3'
version = '0.0.4'
description = 'This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).'
url = 'https://openfga.dev'
licenses {
Expand All @@ -32,7 +32,7 @@ publishing {
repositories {
maven {
name = 'SonatypeOSSRH' // AKA: "Maven Central"
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = System.getenv('MAVEN_USERNAME')
password = System.getenv('MAVEN_PASSWORD')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
* Configurations for an api client.
*/
public class Configuration implements BaseConfiguration {
public static final String VERSION = "0.0.3";
public static final String VERSION = "0.0.4";

private static final String DEFAULT_API_URL = "http://localhost:8080";
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.0.3";
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.0.4";
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

class ConfigurationTest {
private static final String DEFAULT_API_URL = "http://localhost:8080";
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.0.3";
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.0.4";
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);

Expand Down

0 comments on commit 7e5a7cd

Please sign in to comment.