Skip to content

Commit 680979f

Browse files
committed
⬆️ updates gradle version of android project.
1 parent 4ecbfbf commit 680979f

File tree

7 files changed

+26
-9
lines changed

7 files changed

+26
-9
lines changed

example/.fvmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "3.38.5"
3+
}

example/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ pubspec.lock
5353
/windows/flutter/generated_plugin_registrant.cc
5454
/windows/flutter/generated_plugin_registrant.h
5555
/windows/flutter/generated_plugins.cmake
56+
57+
# FVM Version Cache
58+
.fvm/

example/android/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ GeneratedPluginRegistrant.java
99
# Remember to never publicly share your keystore.
1010
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
1111
key.properties
12+
/app/.cxx/
13+
/build/

example/android/app/build.gradle

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,37 @@ if (flutterVersionName == null) {
2323
}
2424

2525
android {
26-
compileSdkVersion 34
26+
namespace 'com.simformsolutions.calendarview'
27+
28+
compileSdkVersion 36
29+
ndkVersion "26.3.11579264"
2730

2831
sourceSets {
2932
main.java.srcDirs += 'src/main/kotlin'
3033
}
3134

35+
compileOptions {
36+
sourceCompatibility JavaVersion.VERSION_21
37+
targetCompatibility JavaVersion.VERSION_21
38+
}
39+
40+
kotlin {
41+
jvmToolchain(21)
42+
}
43+
3244
defaultConfig {
33-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3445
applicationId "com.simformsolutions.calendarview"
3546
minSdkVersion flutter.minSdkVersion
36-
targetSdkVersion 31
47+
targetSdkVersion 36
3748
versionCode flutterVersionCode.toInteger()
3849
versionName flutterVersionName
3950
}
4051

4152
buildTypes {
4253
release {
43-
// TODO: Add your own signing config for the release build.
44-
// Signing with the debug keys for now, so `flutter run --release` works.
4554
signingConfig signingConfigs.debug
4655
}
4756
}
48-
namespace 'com.simformsolutions.calendarview'
4957
}
5058

5159
flutter {

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ 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-7.6.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip

example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "7.4.2" apply false
22-
id "org.jetbrains.kotlin.android" version "1.7.0" apply false
21+
id "com.android.application" version "8.9.2" apply false
22+
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

2525
include ":app"

example/ios/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ Runner/GeneratedPluginRegistrant.*
3030
!default.mode2v3
3131
!default.pbxuser
3232
!default.perspectivev3
33+
/Flutter/ephemeral

0 commit comments

Comments
 (0)