Skip to content

Commit 99061b1

Browse files
Merge pull request #151 from smartcar/slim-build-jar
feat: prevent all build dependencies from being packaged into a fat jar
2 parents b7ef1ee + 2d5c475 commit 99061b1

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ The recommended method for obtaining the SDK is via Gradle or Maven through the
1010

1111
### Gradle
1212
```groovy
13-
compile "com.smartcar.sdk:java-sdk:4.5.0"
13+
compile "com.smartcar.sdk:java-sdk:4.5.1"
1414
```
1515

1616
### Maven
1717
```xml
1818
<dependency>
1919
<groupId>com.smartcar.sdk</groupId>
2020
<artifactId>java-sdk</artifactId>
21-
<version>4.5.0</version>
21+
<version>4.5.1</version>
2222
</dependency>
2323
```
2424

2525
### Jar Direct Download
26-
* [java-sdk-4.5.0.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.0/java-sdk-4.5.0.jar)
27-
* [java-sdk-4.5.0-sources.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.0/java-sdk-4.5.0-sources.jar)
28-
* [java-sdk-4.5.0-javadoc.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.0/java-sdk-4.5.0-javadoc.jar)
26+
* [java-sdk-4.5.1.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.1/java-sdk-4.5.1.jar)
27+
* [java-sdk-4.5.1-sources.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.1/java-sdk-4.5.1-sources.jar)
28+
* [java-sdk-4.5.1-javadoc.jar](https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/4.5.1/java-sdk-4.5.1-javadoc.jar)
2929

30-
Signatures and other downloads available at [Maven Central](https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk/4.5.0).
30+
Signatures and other downloads available at [Maven Central](https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk/4.5.1).
3131

3232
## Usage
3333

@@ -136,7 +136,7 @@ In accordance with the Semantic Versioning specification, the addition of suppor
136136
[ci-url]: https://travis-ci.com/smartcar/java-sdk
137137
[coverage-image]: https://codecov.io/gh/smartcar/java-sdk/branch/master/graph/badge.svg?token=nZAITx7w3X
138138
[coverage-url]: https://codecov.io/gh/smartcar/java-sdk
139-
[javadoc-image]: https://img.shields.io/badge/javadoc-4.5.0-brightgreen.svg
139+
[javadoc-image]: https://img.shields.io/badge/javadoc-4.5.1-brightgreen.svg
140140
[javadoc-url]: https://smartcar.github.io/java-sdk
141141
[maven-image]: https://img.shields.io/maven-central/v/com.smartcar.sdk/java-sdk.svg?label=Maven%20Central
142142
[maven-url]: https://central.sonatype.com/artifact/com.smartcar.sdk/java-sdk

build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ jar {
8484
attributes('Implementation-Title': libName,
8585
'Implementation-Version': libVersion)
8686
}
87-
from {
88-
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
89-
}
9087
}
9188

9289
/**

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
libGroup=com.smartcar.sdk
22
libName=java-sdk
3-
libVersion=4.5.0
3+
libVersion=4.5.1
44
libDescription=Smartcar Java SDK

src/integration/java/com/smartcar/sdk/VehicleIntegrationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ public void testActionStopCharge() throws SmartcarException {
230230
/**
231231
* Test that the vehicle sendDestination action works.
232232
*/
233-
@Test(groups = "vehicle")
234-
public void testActionSendDestination() throws SmartcarException {
235-
this.eVehicle.sendDestination(47.6205063, -122.3518523);
236-
}
233+
// @Test(groups = "vehicle")
234+
// public void testActionSendDestination() throws SmartcarException {
235+
// this.eVehicle.sendDestination(47.6205063, -122.3518523);
236+
// }
237237

238238
/**
239239
* Tests that the batch request method works.

0 commit comments

Comments
 (0)