Skip to content

Commit 4146df6

Browse files
committed
Update Android build settings
1 parent f5f4a52 commit 4146df6

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

printing/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Update package:web [Sabin Neupane]
88
- Force the latest version of pdf_widget_wrapper
99
- Tighten dependencies
10+
- Update Android build settings
1011

1112
## 5.13.1
1213

printing/android/build.gradle

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
group 'net.nfet.flutter.printing'
2-
version '1.0'
1+
group "net.nfet.flutter.printing"
2+
version "1.0"
33

44
buildscript {
55
repositories {
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:4.1.0'
11+
classpath "com.android.tools.build:gradle:7.3.0"
1212
}
1313
}
1414

@@ -19,24 +19,25 @@ rootProject.allprojects {
1919
}
2020
}
2121

22-
apply plugin: 'com.android.library'
22+
apply plugin: "com.android.library"
2323

2424
android {
25-
// Conditional for compatibility with AGP <4.2.
2625
if (project.android.hasProperty("namespace")) {
27-
namespace 'net.nfet.flutter.printing'
26+
namespace = "net.nfet.flutter.printing"
2827
}
29-
compileSdkVersion 30
28+
29+
compileSdk = 34
3030

3131
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
3434
}
3535

3636
defaultConfig {
37-
minSdkVersion 16
37+
minSdk = 21
3838
}
39+
3940
lintOptions {
40-
disable 'InvalidPackage'
41+
disable "InvalidPackage"
4142
}
4243
}

0 commit comments

Comments
 (0)