Skip to content

Commit

Permalink
2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
adyen-git-manager committed May 13, 2019
1 parent f60a84c commit 44e6af3
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To give you as much flexibility as possible, our Android SDK can be integrated i
Import the quick integration modules by adding these lines to your build.gradle file.

```groovy
final checkoutVersion = "2.4.3"
final checkoutVersion = "2.4.4"
implementation "com.adyen.checkout:ui:${checkoutVersion}"
implementation "com.adyen.checkout:nfc:${checkoutVersion}" // Optional; Integrates NFC card reader in card UI
implementation "com.adyen.checkout:wechatpay:${checkoutVersion}" // Optional; Integrates support for WeChat Pay
Expand Down Expand Up @@ -136,7 +136,7 @@ By default, we use the font that is declared in the theme that is used for check
#### Installation
Import the following modules by adding these line to your `build.gradle` file.
```groovy
final checkoutVersion = "2.4.3"
final checkoutVersion = "2.4.4"
implementation "com.adyen.checkout:core:${checkoutVersion}"
implementation "com.adyen.checkout:core-card:${checkoutVersion}" // Optional; Required for processing card payments.
implementation "com.adyen.checkout:nfc:${checkoutVersion}" // Optional; Enables reading of card information with the device"s NFC chip.
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ ext {
"com.tencent.mm.opensdk:wechat-sdk-android-without-mta:9a15154c07c05eadba8351c110647c1754316e32d8f12f55e24679891b52739c:SHA-256",
]

versionCode = 243
versionName = "2.4.3"
versionCode = 244
versionName = "2.4.4"

testCoverageEnabled = true
}
Expand All @@ -40,7 +40,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:3.3.2"
classpath 'com.android.tools.build:gradle:3.4.0'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
}
}
Expand Down
2 changes: 0 additions & 2 deletions checkout-googlepay/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"
implementation "com.google.android.gms:play-services-wallet:${rootProject.playServicesWalletVersion}"

api project(":checkout-base")
api project(":checkout-core")
api project(":checkout-core-card")
api project(":checkout-util")
}
2 changes: 1 addition & 1 deletion checkout-threeds/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"

implementation("com.adyen.threeds:adyen-3ds2:0.9.5") {
implementation("com.adyen.threeds:adyen-3ds2:0.9.6") {
exclude group: 'com.android.support', module: 'appcompat-v7'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,6 @@ protected void onPause() {
}
}

@Override
protected void onDestroy() {
super.onDestroy();

if (mCard3DS2Authenticator != null) {
mCard3DS2Authenticator.release();
}
}

public boolean onCreateOptionsMenu(@NonNull Menu menu) {
getMenuInflater().inflate(R.menu.menu_card_details, menu);

Expand Down
1 change: 0 additions & 1 deletion checkout-util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,5 @@ dependencies {

implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"

api project(":checkout-base")
api project(":checkout-core")
}
2 changes: 0 additions & 2 deletions checkout-wechatpay/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@ dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"
implementation "com.tencent.mm.opensdk:wechat-sdk-android-without-mta:${rootProject.weChatPayVersion}"

api project(":checkout-base")
api project(":checkout-core")
api project(":checkout-util")
}
10 changes: 4 additions & 6 deletions release.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.sun.tools.classfile.Dependency

apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
// TODO: add support for signing of artifacts
Expand Down Expand Up @@ -43,7 +41,7 @@ project.afterEvaluate {
pom.withXml {
final dependenciesNode = asNode().appendNode('dependencies')

ext.addDependency = { Dependency dep, String scope ->
ext.addDependency = { dep, scope ->
final dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', dep.group)
dependencyNode.appendNode('artifactId', dep.group == theGroupId ? dep.name.substring(9) : dep.name)
Expand All @@ -56,15 +54,15 @@ project.afterEvaluate {
exclusionNode.appendNode('artifactId', '*')
} else if (!dep.properties.excludeRules.empty) {
final exclusionNode = dependencyNode.appendNode('exclusions').appendNode('exclusion')
dep.properties.excludeRules.each { ExcludeRule rule ->
dep.properties.excludeRules.each { rule ->
exclusionNode.appendNode('groupId', rule.group ?: '*')
exclusionNode.appendNode('artifactId', rule.module ?: '*')
}
}
}

configurations.api.getAllDependencies().each { dep -> addDependency(dep, "compile") }
configurations.implementation.getAllDependencies().each { dep -> addDependency(dep, "runtime") }
configurations.api.dependencies.each { dep -> addDependency(dep, "compile") }
configurations.implementation.dependencies.each { dep -> addDependency(dep, "runtime") }
}
}
}
Expand Down

0 comments on commit 44e6af3

Please sign in to comment.