From cadda77d74d8308678a7c0ceb22e99f3d52e34ac Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 23 Nov 2018 06:16:38 -0800 Subject: [PATCH] Move versions plugin to plugin DSL (#331) Summary: Doesn't change how it works, but using the new recommended mechanism for loading plugins. Pull Request resolved: https://github.com/facebook/flipper/pull/331 Reviewed By: jknoxville Differential Revision: D13167476 Pulled By: passy fbshipit-source-id: ac0ae925f5780136ce5c1fcb666faa79c19e049c --- build.gradle | 4 ++-- gradle.properties | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index c01a47557..03fb9cccd 100644 --- a/build.gradle +++ b/build.gradle @@ -5,14 +5,14 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' - classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:${GRADLE_BINTRAY_PLUGIN_VERSION}" classpath "com.github.dcendents:android-maven-gradle-plugin:${ANDROID_MAVEN_GRADLE_PLUGIN_VERSION}" - classpath "com.github.ben-manes:gradle-versions-plugin:${GRADLE_VERSIONS_PLUGIN_VERSION}" } } plugins { id 'de.undercouch.download' version '3.4.3' + id 'com.github.ben-manes.versions' version '0.20.0' + id 'com.jfrog.bintray' version '1.8.4' } ext.isSnapshot = { VERSION_NAME.endsWith('-SNAPSHOT') } diff --git a/gradle.properties b/gradle.properties index ee2ccbff0..3e5e01f4a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,6 @@ LITHO_VERSION=0.20.1-SNAPSHOT # Deps for publishing GRADLE_BINTRAY_PLUGIN_VERSION=1.8.0 -GRADLE_VERSIONS_PLUGIN_VERSION=0.15.0 ANDROID_MAVEN_GRADLE_PLUGIN_VERSION=2.1 # Gradle internals