Maven central publish (#1086)

Summary:
Sets up the plugins necessary to publish to Maven Central.

Pull Request resolved: https://github.com/facebook/yoga/pull/1086

Test Plan: ./gradlew publishToMavenLocal -PRELEASE_SIGNING_ENABLED=false

Reviewed By: mweststrate

Differential Revision: D28604529

Pulled By: passy

fbshipit-source-id: 2c35b94ce0e254bc7a8bc80e449ac5dadb5def38
This commit is contained in:
Pascal Hartig
2021-05-21 11:40:17 -07:00
committed by Facebook GitHub Bot
parent 13e079e8f3
commit e3a59aa50e
7 changed files with 23 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@@ -22,7 +23,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}