Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the Flutter version, Kotlin version, and few dependency libraries #211

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply from: project(':flutter_config').projectDir.getPath() + "/dotenv.gradle"

android {
compileSdkVersion 31
buildToolsVersion '29.0.0'
compileSdkVersion 32
buildToolsVersion '33.0.0'

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -37,7 +37,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.beacon"
minSdkVersion 23
targetSdkVersion 30
targetSdkVersion 32
multiDexEnabled true
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -58,5 +58,5 @@ flutter {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.android.support:multidex:1.0.3"
implementation "androidx.multidex:multidex:2.0.1"
}
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.7.10'
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.1.0'
classpath 'com.android.tools.build:gradle:7.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
configurations.all {
resolutionStrategy {
Expand Down
18 changes: 9 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@ publish_to: "none"
version: 1.0.0+1

environment:
sdk: ">=2.7.0 <3.0.0"
sdk: ">=3.2.3 <4.0.0"

dependencies:
connectivity_plus: ^3.0.2
cupertino_icons: ^1.0.2
data_connection_checker: ^0.3.4
connectivity: ^3.0.6
date_time_picker: ^2.1.0
duration_picker: ^1.1.0+1
duration_picker: ^1.1.1
flutter:
sdk: flutter
flutter_animarker: ^3.2.0
flutter_config: ^2.0.0
flutter_countdown_timer: ^4.1.0
flutter_local_notifications: ^13.0.0
flutter_polyline_points: ^1.0.0
flutter_spinkit: ^5.1.0
flutter_spinkit: ^5.2.0
fluttertoast: ^8.0.8
geocoder:
git:
url: https://github.com/nguyenxdat/flutter_geocoder.git
ref: 443b875d8ec80ce525cc6e8f17dfbbbbe7fa3028
geolocator: ^9.0.2
get_it: ^7.2.0
get_it: ^7.6.4
google_maps_flutter: ^2.0.5
graphql_flutter: ^5.1.0
hive: ^2.0.4
intl: ^0.17.0
intl: ^0.19.0
location: ^4.3.0
mockito: ^5.3.2
modal_progress_hud: ^0.1.3
overlay_support: ^2.0.1
modal_progress_hud_nsn: ^0.4.0
overlay_support: ^2.1.0
path_provider: ^2.0.9
provider: ^6.0.3
pprovider: ^6.1.1
rxdart: ^0.27.3
share_plus: ^6.3.0
shared_preferences: ^2.0.13
Expand Down