Showing
2 changed files
with
13 additions
and
11 deletions
@@ -7,6 +7,7 @@ | @@ -7,6 +7,7 @@ | ||
7 | - Update package:web [Sabin Neupane] | 7 | - Update package:web [Sabin Neupane] |
8 | - Force the latest version of pdf_widget_wrapper | 8 | - Force the latest version of pdf_widget_wrapper |
9 | - Tighten dependencies | 9 | - Tighten dependencies |
10 | +- Update Android build settings | ||
10 | 11 | ||
11 | ## 5.13.1 | 12 | ## 5.13.1 |
12 | 13 |
1 | -group 'net.nfet.flutter.printing' | ||
2 | -version '1.0' | 1 | +group "net.nfet.flutter.printing" |
2 | +version "1.0" | ||
3 | 3 | ||
4 | buildscript { | 4 | buildscript { |
5 | repositories { | 5 | repositories { |
@@ -8,7 +8,7 @@ buildscript { | @@ -8,7 +8,7 @@ buildscript { | ||
8 | } | 8 | } |
9 | 9 | ||
10 | dependencies { | 10 | dependencies { |
11 | - classpath 'com.android.tools.build:gradle:4.1.0' | 11 | + classpath "com.android.tools.build:gradle:7.3.0" |
12 | } | 12 | } |
13 | } | 13 | } |
14 | 14 | ||
@@ -19,24 +19,25 @@ rootProject.allprojects { | @@ -19,24 +19,25 @@ rootProject.allprojects { | ||
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | -apply plugin: 'com.android.library' | 22 | +apply plugin: "com.android.library" |
23 | 23 | ||
24 | android { | 24 | android { |
25 | - // Conditional for compatibility with AGP <4.2. | ||
26 | if (project.android.hasProperty("namespace")) { | 25 | if (project.android.hasProperty("namespace")) { |
27 | - namespace 'net.nfet.flutter.printing' | 26 | + namespace = "net.nfet.flutter.printing" |
28 | } | 27 | } |
29 | - compileSdkVersion 30 | 28 | + |
29 | + compileSdk = 34 | ||
30 | 30 | ||
31 | compileOptions { | 31 | compileOptions { |
32 | - sourceCompatibility JavaVersion.VERSION_1_8 | ||
33 | - targetCompatibility JavaVersion.VERSION_1_8 | 32 | + sourceCompatibility = JavaVersion.VERSION_1_8 |
33 | + targetCompatibility = JavaVersion.VERSION_1_8 | ||
34 | } | 34 | } |
35 | 35 | ||
36 | defaultConfig { | 36 | defaultConfig { |
37 | - minSdkVersion 16 | 37 | + minSdk = 21 |
38 | } | 38 | } |
39 | + | ||
39 | lintOptions { | 40 | lintOptions { |
40 | - disable 'InvalidPackage' | 41 | + disable "InvalidPackage" |
41 | } | 42 | } |
42 | } | 43 | } |
-
Please register or login to post a comment