// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        mavenCentral()
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
        maven {
            url "https://plugins.gradle.org/m2/"
        }
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.4.2'
        classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1"
        classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:1.2.0"
    }
}

allprojects {
    apply plugin: "com.github.hierynomus.license"

    repositories {
        mavenCentral()
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }

    license {
        header rootProject.file('LICENSE')
        strictCheck true
        include "**/*.java"
        exclude "**/*Test.java"
        exclude "com/anjlab/android/iab/v3/util/ResourcesUtil.java"
        exclude "com/anjlab/android/iab/v3/Security.java"
    }
}
