diff --git a/android/build.gradle b/android/build.gradle index 67578a2..5ea2c37 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0' buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -15,14 +15,15 @@ buildscript { rootProject.allprojects { repositories { google() - jcenter() + mavenCentral() } } apply plugin: 'com.android.library' android { - compileSdkVersion 28 + namespace "com.erluxman.pdf_flutter" + compileSdkVersion 33 defaultConfig { minSdkVersion 16 @@ -34,5 +35,5 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.0.0' - implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' + implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.3' } \ No newline at end of file diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 949a90b..57b4cca 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -25,7 +25,7 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 33 lintOptions { disable 'InvalidPackage' @@ -35,7 +35,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.erluxman.pdf_flutter_example" minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName }