Skip to content
Prev Previous commit
Next Next commit
Add workaround to resources gradle files.
  • Loading branch information
jonsimantov committed May 21, 2025
commit a9f4705bd77dcd4bd84113cf61fa6b4af1674c1c
5 changes: 5 additions & 0 deletions app/app_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -62,6 +64,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions app/google_api_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -67,6 +69,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions app/invites_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -63,6 +65,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions app/test_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -54,6 +56,9 @@ android {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions app_check/app_check_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -61,6 +63,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions auth/auth_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -63,6 +65,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions database/database_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -59,6 +61,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions firestore/firestore_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -66,6 +68,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions gma/gma_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -64,6 +66,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions remote_config/remote_config_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -61,6 +63,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions storage/storage_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -61,6 +63,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down
5 changes: 5 additions & 0 deletions ump/ump_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import com.android.build.gradle.internal.tasks.CheckAarMetadataTask

buildscript {
repositories {
google()
Expand Down Expand Up @@ -63,6 +65,9 @@ dependencies {

afterEvaluate {
generateReleaseBuildConfig.enabled = false
project.tasks.withType(CheckAarMetadataTask::class.java).configureEach {
enabled = false
}
}

apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
Expand Down