From 87e5c9bf46c3552d52b2ddec0ace1408e0903f2f Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Tue, 6 Dec 2016 16:14:06 +0000 Subject: [PATCH] Added documentation and buildscript to allow full bootstrapping without modifying build files. --- gradle-plugins/README.rst | 7 ++++++- gradle-plugins/publish-utils/build.gradle | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/gradle-plugins/README.rst b/gradle-plugins/README.rst index 4ce50a24c2..647398b752 100644 --- a/gradle-plugins/README.rst +++ b/gradle-plugins/README.rst @@ -15,5 +15,10 @@ Installing If you need to bootstrap the corda repository you can install these plugins with +.. code-block:: text + + cd publish-utils + ../../gradle install + cd ../ + ../gradle install - gradle install \ No newline at end of file diff --git a/gradle-plugins/publish-utils/build.gradle b/gradle-plugins/publish-utils/build.gradle index 430696ee1a..b8733fed95 100644 --- a/gradle-plugins/publish-utils/build.gradle +++ b/gradle-plugins/publish-utils/build.gradle @@ -2,6 +2,21 @@ apply plugin: 'groovy' apply plugin: 'maven-publish' apply plugin: 'com.jfrog.bintray' +// Used for bootstrapping project +buildscript { + ext.gradle_plugins_version = "0.6.2" // Our version: bump this on release. + + repositories { + jcenter() + } + + dependencies { + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' + } +} + +version "$gradle_plugins_version" + dependencies { compile gradleApi() compile localGroovy()