From 1b3f840d8e2903c123ef4d9307987b0e91f54a75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Mon, 20 Apr 2026 08:22:07 -0400 Subject: [PATCH] Protobuf Gradle plugin `0.10.0` and `android.newDsl=true` Also remove default values from gradle.properties --- gradle/libs.versions.toml | 2 +- shared/gradle.properties | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5ab3db5d..4202d10a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -114,7 +114,7 @@ playInsightLint = "0.1.4" # https://github.com/protocolbuffers/protobuf/blob/main/java/lite.md protobuf = "4.34.1" # https://github.com/google/protobuf-gradle-plugin/releases/latest -protobuf-plugin = "0.9.6" +protobuf-plugin = "0.10.0" # https://github.com/square/retrofit/tags # https://github.com/square/retrofit/releases/latest retrofit = "3.0.0" diff --git a/shared/gradle.properties b/shared/gradle.properties index e958b46c..d9b41572 100644 --- a/shared/gradle.properties +++ b/shared/gradle.properties @@ -37,19 +37,9 @@ org.gradle.configureondemand=true # https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage org.gradle.configuration-cache=true -# AndroidX -android.useAndroidX=true -android.enableJetifier=false -# Non-Transitive R classes -android.nonTransitiveRClass=true -# Non-Final Resource IDs -android.nonFinalResIds=true -# Disable R8 full mode #Retrofit -android.enableR8.fullMode=false - # Kotlin kotlin.code.style=official -# AGP 9.0 compat -# Protobuf Plugin not compatible https://github.com/google/protobuf-gradle-plugin/issues/793 -android.newDsl=false +# TODO remove: +# Disable R8 full mode since AGP 8.0 #Retrofit +android.enableR8.fullMode=false