Summary: Depends on https://github.com/facebook/flipper/issues/2277. Fixes https://github.com/facebook/flipper/issues/2221. The maven plugin is no longer exposed and implied by https://developer.android.com/studio/build/maven-publish-plugin. Pull Request resolved: https://github.com/facebook/flipper/pull/2279 Test Plan: ./gradlew uploadArchives -PdryRun=true Reviewed By: priteshrnandgaonkar Differential Revision: D28473692 Pulled By: passy fbshipit-source-id: 3d95122fecebfeac8bfa5173c5c633eee3f13311
34 lines
1.0 KiB
Groovy
34 lines
1.0 KiB
Groovy
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
|
|
implementation project(':android')
|
|
implementation project(':network-plugin')
|
|
implementation deps.protobuf
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.github.hbmartin:protobuf_java_to_protobufjs:0.0.1"
|
|
compileOnly deps.jsr305
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.vanniktech.maven.publish'
|