
When testing locally it seemed that upgrading KGP to `1.9.20` resolved
this, but testing again confirms this was incorrect, so the problem
was reintroduced in 00d1e70a34
.
This change reverts back to KGP `1.9.0` (since upgrading didn't help)
and instead implements the workaround suggested in
https://issuetracker.google.com/278545487. The workaround is now in
the `lib-common` `build.gradle` file, which is transitively depended
on by all modules (and therefore all apps that use this library), so
there's no need for any developer action, and so the release note is
removed.
Issue: androidx/media#1262
PiperOrigin-RevId: 651066418
44 lines
1.4 KiB
Groovy
44 lines
1.4 KiB
Groovy
// Copyright (C) 2016 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.3.2'
|
|
classpath 'com.google.android.gms:strict-version-matcher-plugin:1.2.4'
|
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0'
|
|
}
|
|
}
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
content {
|
|
includeGroup "com.github.philburk"
|
|
}
|
|
}
|
|
}
|
|
if (it.hasProperty('externalBuildDir')) {
|
|
if (!new File(externalBuildDir).isAbsolute()) {
|
|
externalBuildDir = new File(rootDir, externalBuildDir)
|
|
}
|
|
buildDir = "${externalBuildDir}/${project.name}"
|
|
}
|
|
group = 'androidx.media3'
|
|
}
|