gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: provide custom installation task (copy


From: gnunet
Subject: [libeufin] branch master updated: provide custom installation task (copy-based)
Date: Wed, 15 Apr 2020 15:39:21 +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 262b1eb  provide custom installation task (copy-based)
262b1eb is described below

commit 262b1eb173cdc1cd8484cee51dbca8ed93ee506f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Apr 15 15:39:01 2020 +0200

    provide custom installation task (copy-based)
---
 build.gradle       |  2 +-
 nexus/build.gradle | 16 ++++++++++++++--
 settings.gradle    |  2 +-
 util/build.gradle  |  3 ++-
 4 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 20f963b..929bbb6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,4 +3,4 @@ allprojects {
         mavenCentral()
         jcenter()
     }
-}
+}
\ No newline at end of file
diff --git a/nexus/build.gradle b/nexus/build.gradle
index 6fe6667..418c3d5 100644
--- a/nexus/build.gradle
+++ b/nexus/build.gradle
@@ -1,7 +1,7 @@
 plugins {
     id 'java'
-    id 'org.jetbrains.kotlin.jvm' version '1.3.50'
     id 'application'
+    id 'org.jetbrains.kotlin.jvm' version '1.3.50'
     /**
      * Design choice: native installation logic doesn't provide one
      * single command to generate a unique jar, and even by generating
@@ -14,7 +14,19 @@ plugins {
     id "com.github.johnrengelman.shadow" version "5.2.0"
 }
 
-// project.findProperty('prefix') ?: '/tmp', reads from command line 
-Pkey=value options
+task installToPrefix(type: Copy) {
+    from("build/install/nexus-shadow") {
+        include("**/nexus")
+        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'}"
+}
 
 apply plugin: 'kotlin-kapt'
 
diff --git a/settings.gradle b/settings.gradle
index 58a39d2..d3a8dbc 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,4 +1,4 @@
 rootProject.name = 'libeufin'
 include("sandbox")
 include("nexus")
-include("util")
+include("util")
\ No newline at end of file
diff --git a/util/build.gradle b/util/build.gradle
index 8812b1e..b5bfa31 100644
--- a/util/build.gradle
+++ b/util/build.gradle
@@ -1,7 +1,8 @@
 plugins {
     id 'java'
-    id 'org.jetbrains.kotlin.jvm' version '1.3.50'
     id 'application'
+    id 'org.jetbrains.kotlin.jvm' version '1.3.50'
+
 }
 
 sourceCompatibility = "11"

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]