Skip to content

Commit

Permalink
Update artifact and user agent versions
Browse files Browse the repository at this point in the history
- Updated the artifact version in config.json and README.md from "6.0.0-beta" to "6.0.0-SNAPSHOT".
- Updated the user agent version in ApiInvoker.java from "6.0.0-beta" to "6.0.0-SNAPSHOT".
  • Loading branch information
fcarrero committed Sep 1, 2024
1 parent 7014a11 commit 051af70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.conekta</groupId>
<artifactId>conektasdk</artifactId>
<version>6.0.0-beta</version>
<version>6.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -38,7 +38,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "io.conekta:conektasdk:6.0.0-beta"
compile "io.conekta:conektasdk:6.0.0-SNAPSHOT"
```

### Others
Expand All @@ -49,7 +49,7 @@ At first generate the JAR by executing:

Then manually install the following JARs:

- target/conektasdk-6.0.0-beta.jar
- target/conektasdk-6.0.0-SNAPSHOT.jar
- target/lib/*.jar

## Getting Started
Expand Down
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"developerOrganization": "Conekta, Inc.",
"developerOrganizationUrl": "https://www.conekta.io",
"artifactUrl": "https://developers.conekta.com/",
"artifactVersion": "6.0.0-beta",
"artifactVersion": "6.0.0-SNAPSHOT",
"modelPackage": "io.conekta.model",
"licenseName": "MIT License",
"invokerPackage": "io.conekta",
Expand All @@ -25,7 +25,7 @@
"disallowAdditionalPropertiesIfNotPresent": true,
"useOneOfDiscriminatorLookup": true,
"serializationLibrary": "gson",
"httpUserAgent": "Conekta/v2 Android/6.0.0-beta",
"httpUserAgent": "Conekta/v2 Android/6.0.0-SNAPSHOT",
"openApiNullable" : false,
"apiVersion" :"application/vnd.conekta-v2.1.0+json",
"templateDir": "local/templates",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/conekta/ApiInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class ApiInvoker {
DATE_FORMAT.setTimeZone(TimeZone.getTimeZone("UTC"));

// Set default User-Agent.
setUserAgent("Conekta/v2 Android/6.0.0-beta");
setUserAgent("Conekta/v2 Android/6.0.0-SNAPSHOT");
}

public static void setUserAgent(String userAgent) {
Expand Down

0 comments on commit 051af70

Please sign in to comment.