mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
Enable lint in tests for modules that require no fixes
PiperOrigin-RevId: 693313908
This commit is contained in:
parent
12cb803486
commit
286273c10e
@ -29,6 +29,10 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
checkTestSources true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
|
@ -35,11 +35,6 @@ android {
|
||||
lint {
|
||||
baseline = file("lint-baseline.xml")
|
||||
}
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Move this to common_library_config.gradle once it's enabled for all
|
||||
// libraries.
|
||||
checkTestSources true
|
||||
}
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -22,6 +22,11 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -27,6 +27,11 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -28,6 +28,11 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
// TODO(Internal: b/372449691): Remove packagingOptions once AGP is updated
|
||||
// to version 8.5.1 or higher.
|
||||
packagingOptions {
|
||||
|
@ -33,6 +33,11 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets/'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -34,12 +34,6 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets/'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Move this to common_library_config.gradle once it's enabled for all
|
||||
// libraries.
|
||||
checkTestSources true
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -24,6 +24,11 @@ android {
|
||||
|
||||
sourceSets.test.assets.srcDir '../test_data/src/test/assets/'
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -27,6 +27,11 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets/'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -34,6 +34,11 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets/'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -33,11 +33,6 @@ android {
|
||||
buildFeatures {
|
||||
aidl true
|
||||
}
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Move this to common_library_config.gradle once it's enabled for all
|
||||
// libraries.
|
||||
checkTestSources true
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
api project(modulePrefix + 'lib-common')
|
||||
|
@ -13,7 +13,14 @@
|
||||
// limitations under the License.
|
||||
apply from: "$gradle.ext.androidxMediaSettingsDir/common_library_config.gradle"
|
||||
|
||||
android.namespace 'androidx.media3.test.exoplayer.playback'
|
||||
android {
|
||||
namespace 'androidx.media3.test.exoplayer.playback'
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
androidTestImplementation 'androidx.test:rules:' + androidxTestRulesVersion
|
||||
|
@ -33,6 +33,11 @@ android {
|
||||
}
|
||||
|
||||
sourceSets.main.assets.srcDir '../test_data/src/test/assets/'
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -34,6 +34,11 @@ android {
|
||||
test.assets.srcDir '../test_data/src/test/assets/'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
@ -26,6 +26,10 @@ android {
|
||||
buildFeatures {
|
||||
compose true
|
||||
}
|
||||
lintOptions {
|
||||
// TODO: b/353490583 - Enable this once the violations are fixed.
|
||||
checkTestSources false
|
||||
}
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
|
Loading…
x
Reference in New Issue
Block a user