Skip to content

Commit

Permalink
Update Android build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DavBfr committed Aug 8, 2024
1 parent f5f4a52 commit 4146df6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions printing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Update package:web [Sabin Neupane]
- Force the latest version of pdf_widget_wrapper
- Tighten dependencies
- Update Android build settings

## 5.13.1

Expand Down
23 changes: 12 additions & 11 deletions printing/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'net.nfet.flutter.printing'
version '1.0'
group "net.nfet.flutter.printing"
version "1.0"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "com.android.tools.build:gradle:7.3.0"
}
}

Expand All @@ -19,24 +19,25 @@ rootProject.allprojects {
}
}

apply plugin: 'com.android.library'
apply plugin: "com.android.library"

android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'net.nfet.flutter.printing'
namespace = "net.nfet.flutter.printing"
}
compileSdkVersion 30

compileSdk = 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion 16
minSdk = 21
}

lintOptions {
disable 'InvalidPackage'
disable "InvalidPackage"
}
}

0 comments on commit 4146df6

Please sign in to comment.