Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 6e6496a

Browse files
committed
Update FileProvider sample's gradle
This commit updates the Gradle version of the FileProvider sample. - Updates the Gradle version to 7.5. - Updates the AGP version to 7.4.2. - Updates the Kotlin version to 1.6.21. - Sets the namespace in the module build file.
1 parent 55d81f4 commit 6e6496a

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

FileProvider/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ android {
5454
resValues = false
5555
shaders = false
5656
}
57+
namespace 'com.example.graygallery'
5758
}
5859

5960
dependencies {

FileProvider/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="com.example.graygallery">
18+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2019

2120
<!-- Used to download images from Unsplash -->
2221
<uses-permission android:name="android.permission.INTERNET" />

FileProvider/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1818
buildscript {
19-
ext.kotlin_version = "1.3.72"
19+
ext.kotlin_version = '1.6.21'
2020
repositories {
2121
google()
2222
jcenter()
2323
}
2424
dependencies {
25-
classpath 'com.android.tools.build:gradle:7.0.1'
25+
classpath 'com.android.tools.build:gradle:7.4.2'
2626
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2727

2828
// NOTE: Do not place your application dependencies here; they belong

FileProvider/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
1919
distributionPath=wrapper/dists
2020
zipStoreBase=GRADLE_USER_HOME
2121
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
22+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

0 commit comments

Comments
 (0)