Skip to content

Commit

Permalink
Updated dependencies and gradle version (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellindblom authored Feb 26, 2024
1 parent e5df36d commit 44ea268
Showing 5 changed files with 42 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
.DS_Store
.idea
sub*.iml
.gradle
/local.properties
/build
/captures
.externalNativeBuild
.cxx
/keystore.properties
/*.gpg
14 changes: 14 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
# Changelog

## [4.0.1] - 2024-02-26

### Changed

- **Android Gradle Plugin**: Updated to version 7.4.2.
- **Gradle**: Updated to version 7.6.4.
- **Compile SDK API version**: Updated to 33.
- **Java compile version**: Updated to v17.
- **Appcompat**: Updated to version 1.6.1.
- **Android browser** updated to version 1.5.0

## [4.0.0] - 2023-03-21

### Removed

- Delegate events.
- Trustly `.onRedirect` event is no longer publicly exposed as tampering with the redirect URL could cause isses with bank redirects

### Added

- Possibility for custom handlers for `.onSuccess`, `.onError` and `.onAbort` by providing lambdas. It's now possible to pick and choose for which events you want to provide custom handlers.

### Changed

- MinSdk version is now 21
22 changes: 12 additions & 10 deletions TrustlyAndroidSdk/Trustly-Android-Library/build.gradle
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
ext {
// Sonatype coordinates
PUBLISH_GROUP_ID = 'com.trustly'
PUBLISH_VERSION = '4.0.0' //UPDATE WHEN TRUSTLY RELEASES A NEW PACKAGE
PUBLISH_VERSION = '4.0.1'
PUBLISH_ARTIFACT_ID = 'trustly-android-library'
PUBLISH_DESCRIPTION = 'Trustly Android SDK'
PUBLISH_URL = 'https://github.com/trustly/TrustlyAndroidSdk'
@@ -20,19 +20,17 @@ ext {
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"

android {
compileSdkVersion 31
buildToolsVersion "30.0.2"

lintOptions {
abortOnError false
}


defaultConfig {
minSdkVersion 21
targetSdkVersion 31
compileSdk 33
targetSdkVersion 33
versionCode 7
versionName "3.0.1"
versionName "4.0.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
@@ -46,12 +44,16 @@ android {
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.browser:browser:1.5.0'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

}

tasks.register('buildReleaseAar', GradleBuild) {
tasks = ['assembleRelease']
}
10 changes: 5 additions & 5 deletions TrustlyAndroidSdk/build.gradle
Original file line number Diff line number Diff line change
@@ -3,10 +3,10 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath "com.android.tools.build:gradle:7.4.2"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"

@@ -23,14 +23,14 @@ apply from: "${rootDir}/scripts/publish-root.gradle"
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

subprojects {
tasks.withType(Javadoc).all { enabled = false }
tasks.withType(Javadoc).configureEach { enabled = false }
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
4 changes: 2 additions & 2 deletions TrustlyAndroidSdk/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Sep 24 10:49:58 CEST 2020
#Sun Feb 25 21:06:57 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip

0 comments on commit 44ea268

Please sign in to comment.