/*
 * Copyright 2018 The Data Transfer Project Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
plugins {
    id 'maven'
    id 'signing'
}

dependencies {
    compile project(':portability-spi-cloud')
    compile project(':portability-spi-transfer')
    compile project(':portability-spi-api')

    compile "com.squareup.okhttp3:okhttp:${okHttpVersion}"
    compile "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}"
    compile("com.google.api-client:google-api-client:${googleApiClient}")

    compileOnly "com.google.auto.value:auto-value-annotations:${autoValueVersion}"
    annotationProcessor "com.google.auto.value:auto-value:${autoValueVersion}"

    // REVIEW: We could standardize the version in gradle.propertoes but this would mean all dependent extensions must be revved at the same time
    compile 'com.googlecode.ez-vcard:ez-vcard:0.10.3'

    testImplementation "org.mockito:mockito-inline:${mockitoInlineVersion}"
    testCompile "org.mockito:mockito-core:${mockitoCoreVersion}"
    testCompile project(':extensions:auth:portability-auth-harness-microsoft')
    testCompile group: 'com.squareup.okhttp', name: 'mockwebserver', version: '2.7.5'
    testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.2.0'
    testCompile("com.google.http-client:google-http-client-gson:${googleHttpClientVersion}")
}

configurePublication(project)
