Skip to content

Commit ac6dc56

Browse files
committed
Updated to the latest gradle and kotlin dependencies
1 parent fc07add commit ac6dc56

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'co.paystack.flutterpaystack'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.1.51'
5+
ext.kotlin_version = '1.2.71'
66
repositories {
77
google()
88
jcenter()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.0.1'
12+
classpath 'com.android.tools.build:gradle:3.2.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626
apply plugin: 'kotlin-android-extensions'
2727

2828
android {
29-
compileSdkVersion 27
29+
compileSdkVersion 28
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
@@ -43,6 +43,6 @@ android {
4343
}
4444

4545
dependencies {
46-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
47-
implementation 'com.android.support:design:27.1.1'
46+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
47+
implementation 'com.android.support:design:28.0.0'
4848
}

example/android/app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply plugin: 'kotlin-android'
1616
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1717

1818
android {
19-
compileSdkVersion 27
19+
compileSdkVersion 28
2020

2121
sourceSets {
2222
main.java.srcDirs += 'src/main/kotlin'
@@ -29,7 +29,7 @@ android {
2929
defaultConfig {
3030
applicationId "co.paystack.flutterpaystack"
3131
minSdkVersion 16
32-
targetSdkVersion 27
32+
targetSdkVersion 28
3333
versionCode 1
3434
versionName "1.0"
3535
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -47,8 +47,8 @@ flutter {
4747
}
4848

4949
dependencies {
50-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
50+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5151
testImplementation 'junit:junit:4.12'
52-
androidTestImplementation 'com.android.support.test:runner:1.0.1'
53-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
52+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
53+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
5454
}

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.1.51'
2+
ext.kotlin_version = '1.2.71'
33
repositories {
44
google()
55
jcenter()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.0.1'
9+
classpath 'com.android.tools.build:gradle:3.2.1'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
1+
#Thu Oct 25 11:04:03 WAT 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

lib/src/model/checkout_response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:flutter_paystack/src/ui/widgets/checkout/bank_checkout.dart';
55
import 'package:meta/meta.dart';
66

77
class CheckoutResponse {
8-
/// A user readable message. If the transaction was successful, this returns the
8+
/// A user readable message. If the transaction was not successful, this returns the
99
/// cause of the error.
1010
String message;
1111

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_paystack
22
description: A Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS.
3-
version: 0.9.1
3+
version: 0.9.1+1
44
author: Wilberforce Uwadiegwu <faradaywilly@gmail.com>
55
homepage: https://github.com/wilburt/flutter_paystack
66

0 commit comments

Comments
 (0)