Set up Maven distribution for new plugins
Summary: Setting up the necessary metadata to publish the separate plugins to Maven/Bintray. Reviewed By: danielbuechele Differential Revision: D17480263 fbshipit-source-id: 1772cee5b3744ce52fc6e2510a27cb7f500e72bf
This commit is contained in:
committed by
Facebook Github Bot
parent
2baadf9867
commit
1ab47f9ca8
@@ -25,3 +25,5 @@ android {
|
||||
compileOnly deps.jsr305
|
||||
}
|
||||
}
|
||||
|
||||
apply from: rootProject.file('gradle/release.gradle')
|
||||
|
||||
12
android/plugins/fresco/gradle.properties
Normal file
12
android/plugins/fresco/gradle.properties
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
POM_NAME=Flipper Fresco Plugin
|
||||
POM_DESCRIPTION=Images plugin for Flipper
|
||||
POM_ARTIFACT_ID=flipper-fresco-plugin
|
||||
POM_PACKAGING=aar
|
||||
|
||||
@@ -28,3 +28,5 @@ android {
|
||||
compileOnly deps.jsr305
|
||||
}
|
||||
}
|
||||
|
||||
apply from: rootProject.file('gradle/release.gradle')
|
||||
|
||||
12
android/plugins/litho/gradle.properties
Normal file
12
android/plugins/litho/gradle.properties
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
POM_NAME=Flipper Litho Plugin
|
||||
POM_DESCRIPTION=Litho/Sections plugin for Flipper
|
||||
POM_ARTIFACT_ID=flipper-litho-plugin
|
||||
POM_PACKAGING=aar
|
||||
|
||||
@@ -23,3 +23,5 @@ android {
|
||||
compileOnly deps.jsr305
|
||||
}
|
||||
}
|
||||
|
||||
apply from: rootProject.file('gradle/release.gradle')
|
||||
|
||||
12
android/plugins/network/gradle.properties
Normal file
12
android/plugins/network/gradle.properties
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
POM_NAME=Flipper Network Plugin
|
||||
POM_DESCRIPTION=Network/OkHttp plugin for Flipper
|
||||
POM_ARTIFACT_ID=flipper-network-plugin
|
||||
POM_PACKAGING=aar
|
||||
|
||||
@@ -16,5 +16,8 @@ elif [ "$IS_SNAPSHOT" != "" ]; then
|
||||
exit 1
|
||||
else
|
||||
openssl aes-256-cbc -d -in scripts/bintray-publish-keys.enc -k "$ANDROID_PUBLISH_KEY" >> "$BASEDIR/gradle.properties"
|
||||
"$BASEDIR"/gradlew :android:bintrayUpload :noop:bintrayUpload -PdryRun=false
|
||||
# Need to list the projects individually here because of a bug in the gradle-bintray-plugin that
|
||||
# tries to upload projects not meant for distribution (like our root project) and throws an NPE
|
||||
# in that case.
|
||||
"$BASEDIR"/gradlew :android:bintrayUpload :noop:bintrayUpload :fresco-plugin:bintrayUpload :network-plugin:bintrayUpload :litho-plugin:bintrayUpload -PdryRun=false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user