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

Commit 55d81f4

Browse files
committed
Update FileManager sample's gradle
This commit updates the Gradle version of the FileManager 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 0146e3e commit 55d81f4

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

FileManager/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ android {
5454
kotlinOptions {
5555
jvmTarget = "1.8"
5656
}
57+
namespace 'com.android.samples.filemanager'
5758

5859
}
5960

FileManager/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.android.samples.filemanager">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission
65
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"

FileManager/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1818

1919
buildscript {
20-
ext.kotlin_version = '1.3.61'
20+
ext.kotlin_version = '1.6.21'
2121
repositories {
2222
google()
2323
jcenter()
2424
}
2525
dependencies {
26-
classpath 'com.android.tools.build:gradle:7.0.1'
26+
classpath 'com.android.tools.build:gradle:7.4.2'
2727
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2828

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

FileManager/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)