Skip to content

Commit

Permalink
Dependency Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nafiskabbo committed May 20, 2022
1 parent 2fd9fd5 commit de3c120
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ android {
excludes += "DebugProbesKt.bin"
}
}
namespace 'com.kabbodev.imagepicker.demo'
}

dependencies {
Expand All @@ -51,14 +52,14 @@ dependencies {

// Android X
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.4.0")
implementation('androidx.appcompat:appcompat:1.4.1')
implementation("androidx.activity:activity-ktx:1.4.0")
implementation("androidx.fragment:fragment-ktx:1.4.0")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.2")
implementation('androidx.fragment:fragment-ktx:1.4.1')
implementation('com.google.android.material:material:1.6.0')
implementation('androidx.constraintlayout:constraintlayout:2.1.3')

// Glide
implementation("com.github.bumptech.glide:glide:4.12.0")
implementation('com.github.bumptech.glide:glide:4.13.2')

// Testing
testImplementation("junit:junit:4.13.2")
Expand Down
14 changes: 12 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kabbodev.imagepicker.demo">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<queries>
<!-- Query Camera Packages -->
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<!-- Query Open Document -->
<intent>
<action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
</intent>
</queries>

<application
android:allowBackup="true"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 20 15:40:35 BDT 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
21 changes: 10 additions & 11 deletions imagepicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ android {
defaultConfig {
minSdk 21
targetSdk 31
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -45,25 +43,26 @@ android {
excludes += "DebugProbesKt.bin"
}
}
namespace 'com.kabbodev.imagepicker'
}

dependencies {
// Android X
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.4.0")
implementation("androidx.appcompat:appcompat:1.4.1")
implementation("androidx.activity:activity-ktx:1.4.0")
implementation("androidx.fragment:fragment-ktx:1.4.0")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.2")
implementation("androidx.fragment:fragment-ktx:1.4.1")
implementation("com.google.android.material:material:1.6.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
implementation("androidx.recyclerview:recyclerview:1.2.1")

// Lifecycle
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.4.0")
implementation("androidx.lifecycle:lifecycle-common-java8:2.4.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.4.1")
implementation("androidx.lifecycle:lifecycle-common-java8:2.4.1")

// Glide
implementation("com.github.bumptech.glide:glide:4.12.0")
implementation("com.github.bumptech.glide:glide:4.13.2")
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

// Testing
Expand All @@ -80,7 +79,7 @@ afterEvaluate {

groupId = 'com.github.nafiskabbo'
artifactId = 'image-picker'
version = '1.0'
version = '1.1'
}
}
}
Expand Down
14 changes: 12 additions & 2 deletions imagepicker/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kabbodev.imagepicker">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<queries>
<!-- Query Camera Packages -->
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<!-- Query Open Document -->
<intent>
<action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
</intent>
</queries>

<application android:requestLegacyExternalStorage="true">
<activity
android:name=".ui.image_picker.ImagePickerActivity"
Expand Down

0 comments on commit de3c120

Please sign in to comment.