From 809d1c5dcd5a9ad3775c0b2de889f359dd5bc316 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 22 Jun 2016 15:02:50 +0200 Subject: [PATCH] Add an experimental module. --- .idea/modules.xml | 3 +++ experimental/README.md | 9 +++++++++ experimental/build.gradle | 18 ++++++++++++++++++ settings.gradle | 4 +++- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 experimental/README.md create mode 100644 experimental/build.gradle diff --git a/.idea/modules.xml b/.idea/modules.xml index c87ce74e4b..327bffd348 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -11,6 +11,9 @@ + + + diff --git a/experimental/README.md b/experimental/README.md new file mode 100644 index 0000000000..4ed03678b2 --- /dev/null +++ b/experimental/README.md @@ -0,0 +1,9 @@ +# Experimental module + +The purpose of this module is to hold contracts/cordapps that aren't yet ready for code review, but which still want +to be refactored and kept compiling as the underlying platform changes. Code placed into experimental *must* eventually +either be moved into the main modules and go through code review, or deleted. + +Code placed here can be committed to directly onto master at any time as long as it doesn't break the build +(no compile failures or unit test failures). Any commits here that break the build will simply be rolled back. + diff --git a/experimental/build.gradle b/experimental/build.gradle new file mode 100644 index 0000000000..8723bc20ce --- /dev/null +++ b/experimental/build.gradle @@ -0,0 +1,18 @@ +group 'com.r3cev.prototyping' +version '1.0-SNAPSHOT' + +apply plugin: 'java' +apply plugin: 'kotlin' + +sourceCompatibility = 1.5 + +repositories { + mavenCentral() +} + +dependencies { + compile project(':core') + compile project(':contracts') + + testCompile 'junit:junit:4.12' +} diff --git a/settings.gradle b/settings.gradle index 86ff81829c..ed926c3f43 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,4 +2,6 @@ rootProject.name = 'r3prototyping' include 'contracts' include 'contracts:isolated' include 'core' -include 'node' \ No newline at end of file +include 'node' +include 'experimental' +