diff --git a/.gitignore b/.gitignore index bb6172a0..d95eb703 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /captures .externalNativeBuild .idea/encodings.xml +.idea/inspectionProfiles diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..26d33521 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/build.gradle b/build.gradle index ab7583fd..ba5be0ca 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.4.0' + ext.kotlin_version = '1.6.20' repositories { google() maven { url "https://jitpack.io" } jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.0' + classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.15.0" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d5d2c601..aaefce47 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip \ No newline at end of file +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip \ No newline at end of file diff --git a/imagepicker/build.gradle b/imagepicker/build.gradle index 39aa0d0d..fdcbec77 100644 --- a/imagepicker/build.gradle +++ b/imagepicker/build.gradle @@ -6,11 +6,11 @@ plugins { apply from: "../ktlint.gradle" android { - compileSdkVersion 30 + compileSdkVersion 33 defaultConfig { minSdkVersion 19 - targetSdkVersion 30 + targetSdkVersion 33 versionCode 16 versionName "2.1" diff --git a/imagepicker/src/main/AndroidManifest.xml b/imagepicker/src/main/AndroidManifest.xml index 2a14f96a..27c22e2d 100644 --- a/imagepicker/src/main/AndroidManifest.xml +++ b/imagepicker/src/main/AndroidManifest.xml @@ -4,11 +4,13 @@ diff --git a/sample/build.gradle b/sample/build.gradle index 694b73ec..28511046 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -7,11 +7,11 @@ plugins { apply from: "../ktlint.gradle" android { - compileSdkVersion 30 + compileSdkVersion 33 defaultConfig { applicationId "com.github.dhaval2404.imagepicker.sample" minSdkVersion 19 - targetSdkVersion 30 + targetSdkVersion 33 versionCode 16 versionName "2.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/sample/src/main/AndroidManifest.xml b/sample/src/main/AndroidManifest.xml index 57062e84..c03467eb 100644 --- a/sample/src/main/AndroidManifest.xml +++ b/sample/src/main/AndroidManifest.xml @@ -14,6 +14,7 @@ @@ -25,6 +26,7 @@ android:name=".SampleActivity" android:label="@string/app_name" android:theme="@style/AppTheme.NoActionBar" + android:exported="true" tools:ignore="MissingClass">