Summary: [android] Remove deprecated kotlin plugin See https://goo.gle/kotlin-android-extensions-deprecation. We don't seem to be making use of the extension. Pull Request resolved: https://github.com/facebook/flipper/pull/4749 Test Plan: ``` ./gradlew :android:assembleDebug ``` CI Task: T153938450 Reviewed By: antonk52 Differential Revision: D46066063 Pulled By: passy fbshipit-source-id: 1ae58535ca408bf29c97d5a945013f968f5b47a2
33 lines
984 B
Groovy
33 lines
984 B
Groovy
/*
|
|
* 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.
|
|
*/
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
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:$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.1.0"
|
|
compileOnly deps.jsr305
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.vanniktech.maven.publish'
|