Update Maven release scripts

Summary:
Reuse the gradle setup we've built for Litho which allows for parallel publishing to Bintray and Maven Central in addition to Sonatype Snapshots.

This appears not to break the existing jcenter deploy script which is pretty great.

Reviewed By: emilsjolander

Differential Revision: D5020576

fbshipit-source-id: 3ef163ccbfe91c6858b051d39dcf237ca388e18d
This commit is contained in:
Pascal Hartig
2017-05-09 03:39:23 -07:00
committed by Facebook Github Bot
parent bcd68b997f
commit ae33c6c19c
12 changed files with 314 additions and 106 deletions

View File

@@ -3,8 +3,8 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'maven-publish'
version = '1.4.1'
group = 'com.facebook.yoga.android'
version = VERSION_NAME
group = GROUP
android {
compileSdkVersion rootProject.compileSdkVersion
@@ -42,8 +42,4 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
}
ext {
bintrayName = 'com.facebook.yoga.android:yoga-layout'
}
apply from: rootProject.file('gradle/android-jcenter-install.gradle')
apply from: rootProject.file('gradle/release.gradle')