Files
flipper/android/plugins/litho/build.gradle
Pascal Hartig 6279cc68b1 Upgrade to Gradle 7 (#2279)
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
2021-05-17 07:29:49 -07:00

39 lines
1.1 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'
android {
compileSdkVersion rootProject.compileSdkVersion
buildToolsVersion rootProject.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
}
dependencies {
compileOnly deps.lithoAnnotations
implementation project(':android')
implementation deps.lithoCore
api deps.lithoEditorCore
api(deps.lithoEditorFlipper) {
exclude group:'com.facebook.flipper', module:'flipper'
}
implementation deps.lithoSectionsDebug
implementation deps.lithoSectionsCore
implementation deps.lithoWidget
implementation deps.supportAppCompat
compileOnly deps.jsr305
testImplementation deps.junit
testImplementation deps.robolectric
}
}
apply plugin: 'com.vanniktech.maven.publish'