Skip to content

Commit e9a054a

Browse files
committed
Upgraded Gradle to 8.0, AGP to 8.0.2, Kotlin to 1.8.20 + Declare namespace in app/build.gradle.kts
1 parent 38bed6e commit e9a054a

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

‎app/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ val properties = extra["properties"] as Properties
3737
val projectName = extra["app_name"] as String
3838

3939
android {
40+
namespace = "org.thunderdog.challegram"
41+
4042
defaultConfig {
4143
val versions = extra["versions"] as Properties
4244
val jniVersion = versions.getIntOrThrow("version.jni")

‎app/src/main/AndroidManifest.xml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
4-
package="org.thunderdog.challegram"
54
android:installLocation="auto">
65

76
<uses-sdk tools:overrideLibrary="androidx.camera.camera2, androidx.camera.core, androidx.camera.view, androidx.camera.lifecycle, androidx.camera.extensions, com.otaliastudios.transcoder, com.otaliastudios.opengl, com.linkedin.android.litr, com.linkedin.android.litr.filter" />

‎buildSrc/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
`kotlin-dsl`
33
}
44

5-
val kotlinVersion = "1.8.10"
5+
val kotlinVersion = "1.8.20"
66

77
gradlePlugin {
88
plugins {
@@ -45,7 +45,7 @@ configurations.all {
4545

4646
dependencies {
4747
compileOnly(gradleApi())
48-
implementation("com.android.tools.build:gradle:7.4.2")
48+
implementation("com.android.tools.build:gradle:8.0.2")
4949
implementation("com.google.gms:google-services:4.3.15")
5050
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
5151
implementation("com.squareup.okhttp3:okhttp:4.9.3")

‎buildSrc/src/main/kotlin/me/vkryl/plugin/ModulePlugin.kt

-2
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ open class ModulePlugin : Plugin<Project> {
214214
PullRequest(it.toLong(), properties)
215215
}.sortedBy { it.id }
216216

217-
namespace = "org.thunderdog.challegram"
218-
219217
defaultConfig {
220218
applicationId = appId
221219

‎gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ android.nonTransitiveRClass=true
1818
org.gradle.jvmargs=-Xms1024m -Xmx8192m -Dkotlin.daemon.jvm.options\="-Xms1024m -Xmx8192M" -Dfile.encoding\=UTF-8
1919
org.gradle.daemon=true
2020
org.gradle.parallel=true
21+
android.defaults.buildfeatures.buildconfig=true
22+
android.nonFinalResIds=false

‎gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip

0 commit comments

Comments
 (0)