Skip to content

Commit f29186e

Browse files
authored
Merge pull request #1051 from wordpress-mobile/build/upgrade-gradle-to-8.1.1-and-agp-to-8.0.2
[Build] Upgrade Gradle to 8.2.1 and AGP to 8.1.0
2 parents 6a119a9 + c779d13 commit f29186e

File tree

20 files changed

+68
-52
lines changed

20 files changed

+68
-52
lines changed

.java-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17.0

app/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ plugins {
44
}
55

66
android {
7+
namespace "org.wordpress.aztec.demo"
8+
79
compileSdkVersion rootProject.compileSdkVersion
810

911
defaultConfig {
@@ -27,9 +29,13 @@ android {
2729
androidTest.java.srcDirs += 'src/androidTest/kotlin'
2830
}
2931

30-
lintOptions {
32+
lint {
3133
disable 'GradleCompatible'
3234
}
35+
36+
buildFeatures {
37+
buildConfig true
38+
}
3339
}
3440

3541
dependencies {

app/src/main/AndroidManifest.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
<manifest
2-
xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="org.wordpress.aztec.demo">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:tools="http://schemas.android.com/tools"
3+
xmlns:android="http://schemas.android.com/apk/res/android">
44

55
<!-- Required for downloading images -->
66
<uses-permission android:name="android.permission.INTERNET" />
77

88
<!-- Required for adding media and requested at runtime -->
9-
<uses-permission android:name="android.permission.CAMERA" />
9+
<uses-permission android:name="android.permission.CAMERA"
10+
tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
1011
<!-- Allows for storing and retrieving screenshots, photos, videos and audios -->
1112
<uses-permission
1213
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
@@ -18,6 +19,8 @@
1819
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
1920
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
2021

22+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
23+
2124
<application
2225
android:label="@string/app_name"
2326
android:allowBackup="true"

aztec/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ plugins {
55
}
66

77
android {
8+
namespace "org.wordpress.aztec"
9+
810
compileSdkVersion rootProject.compileSdkVersion
911

1012
defaultConfig {
1113
minSdkVersion rootProject.minSdkVersion
1214
targetSdkVersion rootProject.targetSdkVersion
13-
versionName "1.0"
1415
vectorDrawables.useSupportLibrary = true
1516
}
1617

@@ -81,7 +82,6 @@ project.afterEvaluate {
8182

8283
groupId "org.wordpress"
8384
artifactId "aztec"
84-
artifact tasks.named("androidSourcesJar")
8585
// version is set by 'publish-to-s3' plugin
8686
}
8787
}

aztec/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

glide-loader/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ plugins {
55
}
66

77
android {
8+
namespace "org.wordpress.aztec.glideloader"
9+
810
compileSdkVersion rootProject.compileSdkVersion
911

1012
defaultConfig {
1113
minSdkVersion rootProject.minSdkVersion
1214
targetSdkVersion rootProject.targetSdkVersion
13-
versionCode 1
14-
versionName "1.0"
15-
1615
}
1716

1817
buildTypes {
@@ -36,7 +35,6 @@ project.afterEvaluate {
3635

3736
groupId "org.wordpress.aztec"
3837
artifactId "glide-loader"
39-
artifact tasks.named("androidSourcesJar")
4038
// version is set by 'publish-to-s3' plugin
4139
}
4240
}

glide-loader/src/main/AndroidManifest.xml

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

54
<application
65
android:allowBackup="true"

gradle/wrapper/gradle-wrapper.jar

3.47 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

Lines changed: 22 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)