You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're planning on using ProGuard, make sure that you exclude the Stripe bindings. You can do this by adding the following to your `proguard.cfg` file:
44
+
If you're planning on using ProGuard, make sure that you exclude the Stripe
45
+
client library. You can do this by adding the following to your `proguard.cfg`
46
+
file:
41
47
42
48
```
43
49
-keep class com.stripe.** { *; }
44
50
```
45
51
46
52
## Documentation
47
53
48
-
Please see the [Java API docs](https://stripe.com/docs/api/java) for the most up-to-date documentation.
54
+
Please see the [Java API docs][api-docs] for the most
55
+
up-to-date documentation.
56
+
57
+
You can also refer to the [online Javadoc][javadoc].
49
58
50
59
## Usage
51
60
@@ -80,7 +89,7 @@ public class StripeExample {
80
89
}
81
90
```
82
91
83
-
See the project's [functional tests](https://github.com/stripe/stripe-java/blob/master/src/test/java/com/stripe/functional/) for more examples.
92
+
See the project's [functional tests][functional-tests] for more examples.
84
93
85
94
### Per-request Configuration
86
95
@@ -180,13 +189,20 @@ go get -u github.com/stripe/stripe-mock
180
189
stripe-mock
181
190
```
182
191
183
-
You must have Gradle installed. To run the tests:
192
+
To run all checks (tests and code formatting):
193
+
194
+
```sh
195
+
./gradlew check
196
+
```
197
+
198
+
To run the tests:
184
199
185
200
```sh
186
201
./gradlew test
187
202
```
188
203
189
-
You can run particular tests by passing `--tests Class#method`. Make sure you use the fully qualified class name. For example:
204
+
You can run particular tests by passing `--tests Class#method`. Make sure you
205
+
use the fully qualified class name. For example:
190
206
191
207
```sh
192
208
./gradlew test --tests com.stripe.model.AccountTest
@@ -203,14 +219,22 @@ with:
203
219
./gradlew spotlessApply
204
220
```
205
221
206
-
The library uses [Project Lombok][lombok]. While it is not a requirement, you might want to install a [plugin][lombok-plugins] for your favorite IDE to facilitate development.
222
+
The library uses [Project Lombok][lombok]. While it is not a requirement, you
223
+
might want to install a [plugin][lombok-plugins] for your favorite IDE to
0 commit comments