Files
media/docsamples/build.gradle
jbibik bc3db63eb4 Fix various DeveloperGuide lint errors
- Add kotlin-compose plugin for recognising of @Composable functions as not Functions
- Add qualifier names and normalize their use between Java and Kotlin
- Rename var to val for unchanging locals
- Use kotlin ext `String.toUri`
- Remove unnecessary "new" and semicolons from Kotlin snippets

PiperOrigin-RevId: 817178697
2025-10-09 07:35:39 -07:00

37 lines
1.2 KiB
Groovy

// Copyright 2023 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.
apply from: "$gradle.ext.androidxMediaSettingsDir/common_library_config.gradle"
apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
android {
namespace 'androidx.media3.docsamples'
kotlinOptions {
jvmTarget = '1.8'
}
defaultConfig {
minSdkVersion 23
}
}
dependencies {
implementation project(modulePrefix + 'lib-exoplayer')
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
implementation 'androidx.activity:activity-compose:1.9.0'
}