File: 20-shadowjar.patch

package info (click to toggle)
picard-tools 2.27.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 116,408 kB
  • sloc: java: 86,485; python: 282; xml: 266; sh: 223; makefile: 37; javascript: 9
file content (32 lines) | stat: -rw-r--r-- 919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: do not use shadowjar
Author: Sascha Steinbiss <satta@debian.org>
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -126,7 +126,7 @@
 
 defaultTasks 'all'
 
-task all(dependsOn: ['jar', 'distZip', 'javadoc', 'shadowJar', 'currentJar', 'picardDoc'])
+task all(dependsOn: ['jar', 'distZip', 'javadoc', 'picardDoc'])
 
 // Source file names for the picard command line properties file. We select and include only one of
 // these two files in each jar, renamed to "picardCmdLine.properties", depending on which parser we
@@ -196,6 +196,7 @@
     options.addStringOption("verbose")
 }
 
+/*
 task currentJar(type: Copy){
     from shadowJar
     into file("$buildDir/libs")
@@ -205,8 +206,7 @@
 shadowJar {
     finalizedBy currentJar
 }
-
-
+*/
 
 task cloudJar(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar)  {
     configurations = [project.configurations.cloudConfiguration]