/*
 * 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("com.google.gdata:core:${gdataVersion}") {
        exclude(module: 'jetty-util')
        exclude(module: 'servlet-api')
    }

    compile("com.google.api-client:google-api-client:${googleApiClient}")
    compile("com.google.apis:google-api-services-blogger:${googleBloggerVersion}")
    compile("com.google.apis:google-api-services-calendar:${googleCalendarVersion}")
    compile("com.google.apis:google-api-services-drive:${googleDriveVersion}")
    compile("com.google.apis:google-api-services-gmail:${googleGmailVersion}")
    compile("com.google.apis:google-api-services-people:${googlePeopleVersion}")
    compile("com.google.apis:google-api-services-tasks:${googleTasksVersion}")
    compile("com.googlecode.ez-vcard:ez-vcard:${ezVcardVersion}")
    compile("com.google.apis:google-api-services-plus:${googlePlusVersion}")
    compile("com.google.photos.library:google-photos-library-client:${googlePhotoLibraryVersion}")
    compile("com.google.auth:google-auth-library-oauth2-http:${googleOauth2Version}")
    compile("com.google.protobuf:protobuf-java-util:${protobufJavaUtilVersion}")
    implementation("io.grpc:grpc-netty:${grpcNettyVersion}")
    implementation('org.apache.tika:tika-core:1.16')
    testCompile("com.google.http-client:google-http-client-gson:${googleHttpClientVersion}")
    testCompile project(':extensions:cloud:portability-cloud-local')
}

configurePublication(project)
