package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_library {
    name: "SettingsLibUtils",
    use_resource_processor: true,
    defaults: [
        "SettingsLibApexDefaults",
        "SettingsLintDefaults",
    ],

    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],
    resource_dirs: ["res"],

    static_libs: [
        "SettingsLibDataStore",
        "androidx.annotation_annotation",
        "androidx.collection_collection",
        "kotlinx-coroutines-android",
    ],

    sdk_version: "system_current",
    min_sdk_version: "23",

    lint: {
        baseline_filename: "lint-baseline.xml",
    },
}
