[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: importing the Shadow plugin.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: importing the Shadow plugin. |
Date: |
Wed, 15 Apr 2020 14:53:19 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 1579a39 importing the Shadow plugin.
1579a39 is described below
commit 1579a391a0062404d97c32bc95cf112ccc06bbdc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Apr 15 14:52:44 2020 +0200
importing the Shadow plugin.
---
nexus/build.gradle | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/nexus/build.gradle b/nexus/build.gradle
index ee5b043..6fe6667 100644
--- 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"
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: importing the Shadow plugin.,
gnunet <=