/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

import com.facebook.fresco.buildsrc.Deps
import com.facebook.fresco.buildsrc.GradleDeps

apply plugin: 'com.android.library'

dependencies {
  implementation Deps.volley

  implementation project(':fbcore')
  implementation project(':imagepipeline')
  implementation project(':imagepipeline-native')
  implementation project(':memory-types:ashmem')
  implementation project(':memory-types:nativememory')
  implementation project(':memory-types:simple')
    implementation project(':middleware')
    implementation project(':imagepipeline-base')
}

android {
    ndkVersion GradleDeps.Native.version

    buildToolsVersion FrescoConfig.buildToolsVersion
    compileSdkVersion FrescoConfig.compileSdkVersion

    namespace "com.facebook.imagepipeline.backends.volley"

    defaultConfig {
        minSdkVersion FrescoConfig.minSdkVersion
        targetSdkVersion FrescoConfig.targetSdkVersion
    }

    packagingOptions {
        exclude 'LICENSE'
        exclude 'LICENSE.txt'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/NOTICE.txt'
    }
    lintOptions {
        warning 'InvalidPackage'
    }
}

apply plugin: "com.vanniktech.maven.publish"
