/*
 * SPDX-FileCopyrightText: 2023 microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

apply plugin: 'com.android.library'
apply plugin: 'com.squareup.wire'
apply plugin: 'kotlin-android'

dependencies {
    api project(':play-services-appinvite')
    implementation project(':play-services-base-core')

    implementation "androidx.appcompat:appcompat:$appcompatVersion"

    implementation "com.android.volley:volley:$volleyVersion"
    implementation "com.squareup.wire:wire-runtime:$wireVersion"
}

android {
    namespace "org.microg.gms.appinvite"

    compileSdkVersion androidCompileSdk
    buildToolsVersion "$androidBuildVersionTools"

    defaultConfig {
        versionName version
        minSdkVersion androidMinSdk
        targetSdkVersion androidTargetSdk
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    compileOptions {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }

    kotlinOptions {
        jvmTarget = 1.8
    }
}

wire {
    kotlin {}
}
