Skip to content

Commit 6301569

Browse files
committed
include VERSION in jar
1 parent 4d0ba64 commit 6301569

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Add this dependency to your project's POM:
1717
<dependency>
1818
<groupId>com.stripe</groupId>
1919
<artifactId>stripe-java</artifactId>
20-
<version>1.0.3</version>
20+
<version>1.0.4</version>
2121
</dependency>
2222

2323
### Others
2424

2525
You'll need to manually install the following JARs:
2626

27-
* The Stripe JAR from https://code.stripe.com/stripe-java-1.0.3.jar
27+
* The Stripe JAR from https://code.stripe.com/stripe-java-1.0.4.jar
2828
* [Google Gson](http://code.google.com/p/google-gson/) from <http://google-gson.googlecode.com/files/google-gson-1.7.1-release.zip>.
2929

3030
Usage

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.3
1+
1.0.4

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.stripe</groupId>
55
<artifactId>stripe-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.3</version>
7+
<version>1.0.4</version>
88
<name>stripe-java</name>
99
<url>https://github.com/stripe/stripe-java</url>
1010
<dependencies>
@@ -36,6 +36,14 @@
3636
<url>git@github.com:stripe/stripe-java.git</url>
3737
</scm>
3838
<build>
39+
<resources>
40+
<resource>
41+
<directory>.</directory>
42+
<includes>
43+
<include>VERSION</include>
44+
</includes>
45+
</resource>
46+
</resources>
3947
<plugins>
4048
<plugin>
4149
<groupId>org.apache.maven.plugins</groupId>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.stripe;
22

3-
public abstract class Stripe
3+
public abstract class Stripe
44
{
55
public static final String API_BASE = "https://api.stripe.com/v1";
6-
public static final String VERSION = "1.0.3";
6+
public static final String VERSION = "1.0.4";
77
public static String apiKey;
88
}

0 commit comments

Comments
 (0)