libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit d5c493531fb0f9e1f8f2c23a356e3243e26410d4
parent 1ca666a40422cb1cd7b03126ec2b13a76bc50bd6
Author: MS <ms@taler.net>
Date:   Tue,  2 Jun 2020 13:02:44 +0200

sandbox installer

Diffstat:
Msandbox/build.gradle | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/sandbox/build.gradle b/sandbox/build.gradle @@ -2,6 +2,7 @@ plugins { id 'java' id 'org.jetbrains.kotlin.jvm' id 'application' + id "com.github.johnrengelman.shadow" version "5.2.0" } sourceCompatibility = "11" @@ -14,6 +15,21 @@ compileKotlin { } } +task installToPrefix(type: Copy) { + dependsOn(installShadowDist) + from("build/install/sandbox-shadow") { + include("**/sandbox") + include("**/*.jar") + } + /** + * Reads from command line -Pkey=value options, + * with a default (/tmp) if the key is not found. + * + * project.findProperty('prefix') ?: '/tmp' + */ + into "${project.findProperty('prefix') ?: '/tmp'}" +} + compileTestKotlin { kotlinOptions { jvmTarget = "11"