Skip to content

Commit

Permalink
Merge pull request #145 from smartcar/upgrade-gson
Browse files Browse the repository at this point in the history
fix: update gson version - security patch
  • Loading branch information
s-ashwinkumar authored Apr 4, 2024
2 parents 985c826 + 40e15a0 commit 3653396
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Smartcar, Inc. <[email protected]>
Copyright (c) 2024 Smartcar, Inc. <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ The recommended method for obtaining the SDK is via Gradle or Maven through the

### Gradle
```groovy
compile "com.smartcar.sdk:java-sdk:4.1.0"
compile "com.smartcar.sdk:java-sdk:4.2.0"
```

### Maven
```xml
<dependency>
<groupId>com.smartcar.sdk</groupId>
<artifactId>java-sdk</artifactId>
<version>4.1.0</version>
<version>4.2.0</version>
</dependency>
```

### Jar Direct Download
* [java-sdk-4.1.0.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.1.0/java-sdk-4.1.0.jar)
* [java-sdk-4.1.0-sources.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.1.0/java-sdk-4.1.0-sources.jar)
* [java-sdk-4.1.0-javadoc.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.1.0/java-sdk-4.1.0-javadoc.jar)
* [java-sdk-4.2.0.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.2.0/java-sdk-4.2.0.jar)
* [java-sdk-4.2.0-sources.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.2.0/java-sdk-4.2.0-sources.jar)
* [java-sdk-4.2.0-javadoc.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.2.0/java-sdk-4.2.0-javadoc.jar)

Signatures and other downloads available at [Maven Central](https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk/4.1.0).
Signatures and other downloads available at [Maven Central](https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk/4.2.0).

## Usage

Expand Down Expand Up @@ -136,7 +136,7 @@ In accordance with the Semantic Versioning specification, the addition of suppor
[ci-url]: https://travis-ci.com/smartcar/java-sdk
[coverage-image]: https://codecov.io/gh/smartcar/java-sdk/branch/master/graph/badge.svg?token=nZAITx7w3X
[coverage-url]: https://codecov.io/gh/smartcar/java-sdk
[javadoc-image]: https://img.shields.io/badge/javadoc-4.1.0-brightgreen.svg
[javadoc-image]: https://img.shields.io/badge/javadoc-4.2.0-brightgreen.svg
[javadoc-url]: https://smartcar.github.io/java-sdk
[maven-image]: https://img.shields.io/maven-central/v/com.smartcar.sdk/java-sdk.svg?label=Maven%20Central
[maven-url]: https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ testSets {
* @see https://docs.gradle.org/6.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph
*/
dependencies {
api 'com.google.code.gson:gson:2.8.6'
api 'com.google.code.gson:gson:2.10.1'
api 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.apache.commons:commons-text:1.2'
implementation 'javax.json:javax.json-api:1.0' // Java EE interfaces
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libGroup=com.smartcar.sdk
libName=java-sdk
libVersion=4.1.0
libVersion=4.2.0
libDescription=Smartcar Java SDK

0 comments on commit 3653396

Please sign in to comment.