Skip to content

Commit

Permalink
[240326] Automatic update of SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
gturri committed Mar 26, 2024
1 parent 3400c5b commit 985c694
Show file tree
Hide file tree
Showing 48 changed files with 180 additions and 4,572 deletions.
29 changes: 11 additions & 18 deletions sdks/marketingsolutions_2023-01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ More information: [https://developers.criteo.com/](https://developers.criteo.com

Criteo API

- Package version: 2023.01.0.240207
- Package version: 2023.01.0.240326


*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
Expand All @@ -18,23 +18,17 @@ Criteo API
Building the API client library requires:

1. Java 1.8+
2. Maven/Gradle
2. Gradle

## Installation
## How to build

To install the API client library to your local Maven repository, simply execute:
To build the jar, simply execute:

```shell
mvn clean install
./gradlew jar
```

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

```shell
mvn clean deploy
```

Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
The built jar will be available in build/libs.

### Maven users

Expand All @@ -44,7 +38,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.criteo</groupId>
<artifactId>criteo-api-marketingsolutions-sdk</artifactId>
<version>2023.01.0.240207</version>
<version>2023.01.0.240326</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -54,21 +48,20 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.criteo:criteo-api-marketingsolutions-sdk:2023.01.0.240207"
compile "com.criteo:criteo-api-marketingsolutions-sdk:2023.01.0.240326"
```

### Others

At first generate the JAR by executing:

```shell
mvn clean package
./gradlew jar
```

Then manually install the following JARs:

* `target/criteo-api-marketingsolutions-sdk-2023.01.0.240207.jar`
* `target/lib/*.jar`
* `build/libs/criteo-api-marketingsolutions-sdk-2023.01.0.240326.jar`

## Example

Expand Down Expand Up @@ -219,4 +212,4 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea

## Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7 changes: 3 additions & 4 deletions sdks/marketingsolutions_2023-01/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (JavaVersion.current().isJava8Compatible()) {
}

group = 'com.criteo'
version = '2023.01.0.240207'
version = '2023.01.0.240326'

repositories {
jcenter()
Expand All @@ -35,7 +35,6 @@ sourceSets {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

// Note: these dependencies should be kept in sync with the ones of the generated pom.xml
dependencies {
implementation 'io.swagger:swagger-annotations:1.6.8'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
Expand Down Expand Up @@ -75,7 +74,7 @@ publishing {
mavenJava(MavenPublication) {
groupId 'com.criteo'
artifactId 'criteo-api-marketingsolutions-sdk'
version '2023.01.0.240207'
version '2023.01.0.240326'
from components.java
artifact sourcesJar
artifact javadocJar
Expand Down Expand Up @@ -130,4 +129,4 @@ nexusPublishing {
maxRetries.set(50)
delayBetween.set(java.time.Duration.ofMillis(3000))
}
}
}
Loading

0 comments on commit 985c694

Please sign in to comment.