# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
s3_bucket_paths:
    - maven2
default_locales:  # Ignored for geckoview
    - en-US
tasktype_map:  # Map task reference to task type.
    build: build
    build-fat-aar: build
    build-signing: signing

# A default entry, which the mappings below extend and override.
# Final 'destinations' will be the product of:
# s3_bucket_paths + destinations + locale_prefix + pretty_name
default: &default
    locale_prefix: ''
    source_path_modifier: maven/org/mozilla/geckoview/${artifact_id}/${major_version}.${minor_version}.${build_date}
    description: "TO_BE_OVERRIDDEN"
    destinations:  # locale_prefix is appended
        - org/mozilla/geckoview/${artifact_id}/${major_version}.${minor_version}.${build_date}

mapping:
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.asc:
        <<: *default
        from: ['build-signing']
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.asc
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.asc
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.md5:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.md5
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.md5
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha1:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha1
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha1
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha256:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha256
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha256
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha512:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha512
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.aar.sha512
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.asc:
        <<: *default
        from: ['build-signing']
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.asc
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.asc
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.md5:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.md5
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.md5
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha1:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha1
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha1
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha256:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha256
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha256
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha512:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha512
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.pom.sha512
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.asc:
        <<: *default
        from: ['build-signing']
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.asc
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.asc
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.md5:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.md5
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.md5
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha1:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha1
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha1
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha256:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha256
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha256
    ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha512:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha512
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}.module.sha512
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.asc:
        <<: *default
        from: ['build-signing']
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.asc
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.asc
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.md5:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.md5
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.md5
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha1:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha1
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha1
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha256:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha256
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha256
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha512:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha512
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-javadoc.jar.sha512
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.asc:
        <<: *default
        from: ['build-signing']
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.asc
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.asc
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.md5:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.md5
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.md5
    ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.sha1:
        <<: *default
        from:
            - build
            - build-fat-aar
        pretty_name: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.sha1
        checksums_path: ${artifact_id}-${major_version}.${minor_version}.${build_date}-sources.jar.sha1
