Commit c67cf507 by Rizal Hermawan

Revert "update gradle distribution url and remove validation length in action function"

This reverts commit a863bcb9.
parent da48fe89
......@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
compileSdkVersion 28
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
......@@ -39,8 +39,8 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.example"
minSdkVersion 21
targetSdkVersion 30
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
......
......@@ -2,11 +2,11 @@ buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
......@@ -14,7 +14,7 @@ buildscript {
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
......
......@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
......@@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.8.1"
version: "2.5.0"
boolean_selector:
dependency: transitive
description:
......@@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "1.2.0"
clock:
dependency: transitive
description:
......@@ -80,7 +80,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
version: "1.3.0"
multi_select_flutter:
dependency: "direct main"
description:
......@@ -106,7 +106,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.0"
stack_trace:
dependency: transitive
description:
......@@ -141,7 +141,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.2"
version: "0.2.19"
typed_data:
dependency: transitive
description:
......@@ -157,4 +157,4 @@ packages:
source: hosted
version: "2.1.0"
sdks:
dart: ">=2.12.0 <3.0.0"
dart: ">=2.12.0-0.0 <3.0.0"
......@@ -22,7 +22,9 @@ class MultiSelectActions<V> {
/// Calls the onConfirm function if one was provided.
void onConfirmTap(
BuildContext ctx, List<V> selectedValues, Function(List<V>)? onConfirm, int validationSelectedLength) {
Navigator.pop(ctx, selectedValues);
if (selectedValues.length <= validationSelectedLength) {
Navigator.pop(ctx, selectedValues);
}
if (onConfirm != null) {
onConfirm(selectedValues);
}
......
......@@ -8,7 +8,11 @@ packages:
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "2.11.0"
=======
version: "2.5.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
boolean_selector:
dependency: transitive
description:
......@@ -24,7 +28,18 @@ packages:
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "1.3.0"
=======
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
clock:
dependency: transitive
description:
......@@ -82,7 +97,11 @@ packages:
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "1.10.0"
=======
version: "1.3.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
path:
dependency: transitive
description:
......@@ -103,7 +122,11 @@ packages:
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "1.10.0"
=======
version: "1.8.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
stack_trace:
dependency: transitive
description:
......@@ -143,7 +166,18 @@ packages:
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "0.6.1"
=======
version: "0.2.19"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
vector_math:
dependency: transitive
description:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment