Summary: This removes Bintray/JCenter specific code and replaces it with a new plugin recommended by [Chris Banes](https://chris.banes.dev/publishing-to-maven-central/). Pull Request resolved: https://github.com/facebook/flipper/pull/1914 Test Plan: Manually uploaded as snapshot and full release, but with this setup still requires all sorts of manual setup, including GPG. Next PR will include automation for this. CI here should also verify that I didn't split this diff up incorrectly. Reviewed By: jknoxville Differential Revision: D26367350 Pulled By: passy fbshipit-source-id: faa6b488d6c95bc643d2f9328362e29fb4b05ded
40 lines
1.1 KiB
Groovy
40 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'
|
|
apply plugin: 'maven'
|
|
|
|
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'
|