libeufin

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

commit 1579a391a0062404d97c32bc95cf112ccc06bbdc
parent 56fd176f7904ca496ea35f12325c9c722e3d5bc7
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed, 15 Apr 2020 14:52:44 +0200

importing the Shadow plugin.

Diffstat:
Mnexus/build.gradle | 20++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/nexus/build.gradle b/nexus/build.gradle @@ -2,8 +2,20 @@ plugins { id 'java' id 'org.jetbrains.kotlin.jvm' version '1.3.50' id 'application' + /** + * Design choice: native installation logic doesn't provide one + * single command to generate a unique jar, and even by generating + * a unique jar manually, then the usual gradle wrappers wouldn't be + * able to run those. Therefore, the dependency below ('shadow') + * was added as it provides _both_: unique jar packaging _and_ a + * suitable launch script. However, a method to copy the jar+script + * files to a external directory must still be (manually?) provided. + */ + id "com.github.johnrengelman.shadow" version "5.2.0" } +// project.findProperty('prefix') ?: '/tmp', reads from command line -Pkey=value options + apply plugin: 'kotlin-kapt' sourceCompatibility = '11' @@ -45,14 +57,6 @@ application { mainClassName = "tech.libeufin.nexus.MainKt" } -/* - installDist { - destinationDir = file("${project.findProperty('prefix') ?: '/tmp'}") - preserve { - exclude '**' - } -}*/ - dependencies { implementation project(":util") compile "io.ktor:ktor-client-apache:1.2.4"