Skip to content

Commit

Permalink
Run Android Plugin upgrade assistant (#71)
Browse files Browse the repository at this point in the history
Update to Android Gradle plugin 7.4.2 and apply recommendations to
manifest file.
  • Loading branch information
pkwarren authored Aug 21, 2023
1 parent 2e45257 commit 490d859
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ android {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
namespace = "build.buf.connect.examples.android"
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions examples/android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="build.buf.connect.examples.android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ assertj = "3.11.0"
coroutines = "1.5.2"
dokka = "1.5.30"
junit = "4.13.2"
kotlin = "1.6.10"
kotlin = "1.6.21"
kotlinpoet = "1.12.0"
ktlint = "0.46.0"
moshi = "1.13.0"
Expand All @@ -14,7 +14,7 @@ protobuf = "3.21.12"

[libraries]
android = { module = "com.google.android:android", version.ref = "android" }
android-plugin = { module = "com.android.tools.build:gradle", version = "7.1.2" }
android-plugin = { module = "com.android.tools.build:gradle", version = "7.4.2" }
androidx-annotations = { module = "androidx.annotation:annotation", version = "1.1.0" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.0.2" }
androidx-compose = { module = "androidx.activity:activity-compose", version = "1.4.0" }
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 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Expand Down

0 comments on commit 490d859

Please sign in to comment.