diff --git a/android/plugins/fresco/build.gradle b/android/plugins/fresco/build.gradle index 4ec9f23d3..4d9af746e 100644 --- a/android/plugins/fresco/build.gradle +++ b/android/plugins/fresco/build.gradle @@ -25,3 +25,5 @@ android { compileOnly deps.jsr305 } } + +apply from: rootProject.file('gradle/release.gradle') diff --git a/android/plugins/fresco/gradle.properties b/android/plugins/fresco/gradle.properties new file mode 100644 index 000000000..e3a8efef5 --- /dev/null +++ b/android/plugins/fresco/gradle.properties @@ -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 + diff --git a/android/plugins/litho/build.gradle b/android/plugins/litho/build.gradle index 305aeb680..04b0f978f 100644 --- a/android/plugins/litho/build.gradle +++ b/android/plugins/litho/build.gradle @@ -28,3 +28,5 @@ android { compileOnly deps.jsr305 } } + +apply from: rootProject.file('gradle/release.gradle') diff --git a/android/plugins/litho/gradle.properties b/android/plugins/litho/gradle.properties new file mode 100644 index 000000000..d1db61bc7 --- /dev/null +++ b/android/plugins/litho/gradle.properties @@ -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 + diff --git a/android/plugins/network/build.gradle b/android/plugins/network/build.gradle index 4eac20f00..dfe949ee3 100644 --- a/android/plugins/network/build.gradle +++ b/android/plugins/network/build.gradle @@ -23,3 +23,5 @@ android { compileOnly deps.jsr305 } } + +apply from: rootProject.file('gradle/release.gradle') diff --git a/android/plugins/network/gradle.properties b/android/plugins/network/gradle.properties new file mode 100644 index 000000000..f4d1f4e22 --- /dev/null +++ b/android/plugins/network/gradle.properties @@ -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 + diff --git a/scripts/publish-android-release.sh b/scripts/publish-android-release.sh index ac44cd7a0..e9fe9f6f1 100755 --- a/scripts/publish-android-release.sh +++ b/scripts/publish-android-release.sh @@ -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