File: source_target_level.patch

package info (click to toggle)
igv 2.18.5%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 174,428 kB
  • sloc: java: 121,493; xml: 10,326; sh: 184; ansic: 92; javascript: 54; makefile: 19
file content (21 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: raising the source/target Java level so that the package can be
 built in a Debian environment
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2024-02-17

--- a/build.gradle
+++ b/build.gradle
@@ -151,6 +151,12 @@
     }
 }
 
+// Increase Java version to be able to build.
+compileJava {
+    sourceCompatibility = '17'
+    targetCompatibility = '17'
+}
+
 jar {
     archiveName = 'igv.jar'
     manifest {