File tree Expand file tree Collapse file tree 8 files changed +23
-22
lines changed
src/main/java/com/divyanshushekhar/flutter_shortcuts Expand file tree Collapse file tree 8 files changed +23
-22
lines changed Original file line number Diff line number Diff line change @@ -4,32 +4,32 @@ version '1.0'
44buildscript {
55 repositories {
66 google()
7- jcenter ()
7+ mavenCentral ()
88 }
99
1010 dependencies {
11- classpath ' com.android.tools.build:gradle:4.1.0 '
11+ classpath ' com.android.tools.build:gradle:7.0.4 '
1212 }
1313}
1414
1515rootProject. allprojects {
1616 repositories {
1717 google()
18- jcenter ()
18+ mavenCentral ()
1919 }
2020}
2121
2222apply plugin : ' com.android.library'
2323
2424android {
25- compileSdkVersion 30
25+ compileSdkVersion 31
2626
2727 defaultConfig {
2828 minSdkVersion 16
2929 }
3030}
3131
3232dependencies {
33- implementation " androidx.core:core:1.6 .0-beta01 "
34- implementation ' androidx.core:core-google-shortcuts:1.0 .0-beta01 '
33+ implementation " androidx.core:core:1.8 .0-alpha02 "
34+ implementation ' androidx.core:core-google-shortcuts:1.1 .0-alpha01 '
3535}
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ private int getMaxShortcutLimit() {
141141
142142 @ RequiresApi (api = Build .VERSION_CODES .N_MR1 )
143143 private Map <String , Integer > getIconProperties () {
144- Map <String , Integer > properties = new HashMap <String , Integer >();
144+ Map <String , Integer > properties = new HashMap <>();
145145 properties .put ("maxHeight" , ShortcutManagerCompat .getIconMaxHeight (context ));
146146 properties .put ("maxWidth" , ShortcutManagerCompat .getIconMaxWidth (context ));
147147 return properties ;
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ apply plugin: 'com.android.application'
2525apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2626
2727android {
28- compileSdkVersion 30
28+ compileSdkVersion 31
2929
3030 defaultConfig {
3131 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3232 applicationId " com.divyanshushekhar.flutter_shortcuts_example"
3333 minSdkVersion 16
34- targetSdkVersion 30
34+ targetSdkVersion 31
3535 versionCode flutterVersionCode. toInteger()
3636 versionName flutterVersionName
3737 }
Original file line number Diff line number Diff line change 99 android : theme =" @style/LaunchTheme"
1010 android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1111 android : hardwareAccelerated =" true"
12- android : windowSoftInputMode =" adjustResize" >
12+ android : windowSoftInputMode =" adjustResize"
13+ android : exported =" true" >
1314 <!-- Specifies an Android theme to apply to this Activity as soon as
1415 the Android process has started. This theme is visible to the user
1516 while the Flutter UI initializes. After that, this theme continues
Original file line number Diff line number Diff line change 11buildscript {
22 repositories {
33 google()
4- jcenter ()
4+ mavenCentral ()
55 }
66
77 dependencies {
8- classpath ' com.android.tools.build:gradle:4.1.2 '
8+ classpath ' com.android.tools.build:gradle:7.0.4 '
99 }
1010}
1111
1212allprojects {
1313 repositories {
1414 google()
15- jcenter ()
15+ mavenCentral ()
1616 }
1717}
1818
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -all.zip
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ packages:
77 name: async
88 url: "https://pub.dartlang.org"
99 source: hosted
10- version: "2.6 .1"
10+ version: "2.8 .1"
1111 boolean_selector:
1212 dependency: transitive
1313 description:
@@ -28,7 +28,7 @@ packages:
2828 name: charcode
2929 url: "https://pub.dartlang.org"
3030 source: hosted
31- version: "1.2.0 "
31+ version: "1.3.1 "
3232 clock:
3333 dependency: transitive
3434 description:
@@ -87,7 +87,7 @@ packages:
8787 name: meta
8888 url: "https://pub.dartlang.org"
8989 source: hosted
90- version: "1.3 .0"
90+ version: "1.7 .0"
9191 path:
9292 dependency: transitive
9393 description:
@@ -148,7 +148,7 @@ packages:
148148 name: test_api
149149 url: "https://pub.dartlang.org"
150150 source: hosted
151- version: "0.3.0 "
151+ version: "0.4.2 "
152152 typed_data:
153153 dependency: transitive
154154 description:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ packages:
77 name: async
88 url: "https://pub.dartlang.org"
99 source: hosted
10- version: "2.6 .1"
10+ version: "2.8 .1"
1111 boolean_selector:
1212 dependency: transitive
1313 description:
@@ -28,7 +28,7 @@ packages:
2828 name: charcode
2929 url: "https://pub.dartlang.org"
3030 source: hosted
31- version: "1.2.0 "
31+ version: "1.3.1 "
3232 clock:
3333 dependency: transitive
3434 description:
@@ -73,7 +73,7 @@ packages:
7373 name: meta
7474 url: "https://pub.dartlang.org"
7575 source: hosted
76- version: "1.3 .0"
76+ version: "1.7 .0"
7777 path:
7878 dependency: transitive
7979 description:
@@ -141,7 +141,7 @@ packages:
141141 name: test_api
142142 url: "https://pub.dartlang.org"
143143 source: hosted
144- version: "0.3.0 "
144+ version: "0.4.2 "
145145 typed_data:
146146 dependency: transitive
147147 description:
You can’t perform that action at this time.
0 commit comments