Switch to Litho snapshot releases
Summary: This allows breaking changes in Litho to be landed. I'm also adding some helpers to determine if Flipper itself is currently in a release or snapshot release train. N.B. We don't publish snapshot releases for Flipper right now, but will in the future where this will come in handy. Reviewed By: jknoxville Differential Revision: D9359035 fbshipit-source-id: d21b607eca5d57caf4cc34234f6ba3cb0d8f307d
This commit is contained in:
committed by
Facebook Github Bot
parent
11ba553ab8
commit
cded1ceead
@@ -1,7 +1,6 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
|
||||
compileSdkVersion rootProject.compileSdkVersion
|
||||
buildToolsVersion rootProject.buildToolsVersion
|
||||
defaultConfig {
|
||||
|
||||
@@ -15,12 +15,19 @@ plugins {
|
||||
id 'de.undercouch.download' version '3.4.3'
|
||||
}
|
||||
|
||||
ext.isSnapshot = { VERSION_NAME.endsWith('-SNAPSHOT') }
|
||||
ext.isRelease = { ['uploadArchives', 'bintrayUpload'].any { gradle.startParameter.taskNames.contains(it) } }
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
|
||||
if (isSnapshot()) {
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# POM publishing constants
|
||||
VERSION_NAME=0.6.17
|
||||
VERSION_NAME=0.6.18-SNAPSHOT
|
||||
GROUP=com.facebook.flipper
|
||||
POM_URL=https://github.com/facebook/flipper
|
||||
POM_SCM_URL=https://github.com/facebook/flipper.git
|
||||
@@ -12,7 +12,7 @@ POM_DEVELOPER_ID=facebook
|
||||
POM_DEVELOPER_NAME=facebook
|
||||
|
||||
# Shared version numbers
|
||||
LITHO_VERSION=0.18.0
|
||||
LITHO_VERSION=0.18.1-SNAPSHOT
|
||||
|
||||
# Deps for publishing
|
||||
GRADLE_BINTRAY_PLUGIN_VERSION=1.8.0
|
||||
|
||||
Reference in New Issue
Block a user