Setup publishing of snapshots using io.github.gradle-nexus.publish-plugin
Summary: This sets up publishing of -SNAPSHOT verison of Yoga using the Gradle plugin `io.github.gradle-nexus.publish-plugin` This plugin will take care of setting up the credentials for Sonatype and hitting the Maven repository. I've cleaned up the setup and centralized it inside a script plugin in the `build-logic` folder so we can easily add more module and just use `id("publish")` to publish them as well. Reviewed By: mdvacca Differential Revision: D46330013 fbshipit-source-id: 7221b296b9955a257fc290a2d1ac1d9fedfb787d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
186f4d318d
commit
9a0ba05d13
13
build-logic/build.gradle.kts
Normal file
13
build-logic/build.gradle.kts
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
plugins { `kotlin-dsl` }
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
Reference in New Issue
Block a user