Skip to content

Commit

Permalink
Revert plugin versions & make CardSource.stored optional by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-peirse committed Jul 21, 2020
1 parent 9948b84 commit 9451270
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'java-library'
id 'signing'
id 'de.marcphilipp.nexus-publish' version '0.4.0'
id 'io.codearte.nexus-staging' version '0.21.2'
id 'de.marcphilipp.nexus-publish' version '0.2.0'
id 'io.codearte.nexus-staging' version '0.21.0'
id 'com.gradle.build-scan' version '2.3'
id 'io.freefair.lombok' version '3.8.1'
}
Expand Down Expand Up @@ -80,11 +80,6 @@ publishing {
}
}

nexusPublishing {
connectTimeout = Duration.ofMinutes(5)
clientTimeout = Duration.ofMinutes(5)
}

nexusStaging {
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/checkout/payments/CardSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CardSource implements RequestSource {
private String cvv;
private Address billingAddress;
private Phone phone;
private boolean stored;
private Boolean stored;

public CardSource(String number, int expiryMonth, int expiryYear) {
if (CheckoutUtils.isNullOrWhitespace(number)) {
Expand Down

0 comments on commit 9451270

Please sign in to comment.