jdepend/jdepend-target16.patch
Fridrich Strba 9731ac00ae Accepting request 943299 from home:david.anes:branches:Java:packages
- Update to 2.10:
  * Official release that includes support for Java 8 constants
- Updated license from BSD-3 Clause to MIT (as per LICENSE.md file).
- Fix installed files permissions (were too broad).
- Fix LICENSE, CHANGES and README permissions.
- Fix demo permissions (were too broad).
- Rebased patches:
  *  jdepend-target16.patch

OBS-URL: https://build.opensuse.org/request/show/943299
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jdepend?expand=0&rev=12
2021-12-31 21:00:24 +00:00

32 lines
1.1 KiB
Diff

Index: build.xml
===================================================================
--- build.xml.orig
+++ build.xml
@@ -38,7 +38,7 @@
<target name="compile" depends="prepare"
description="Compiles the source code">
- <javac srcdir="${src.dir}"
+ <javac source="1.6" target="1.6" srcdir="${src.dir}"
destdir="${build.dir}"
debug="${build.debug}"
includeantruntime="false">
@@ -48,7 +48,7 @@
<target name="compile-sample" depends="prepare"
description="Compiles the sample code">
- <javac srcdir="sample"
+ <javac source="1.6" target="1.6" srcdir="sample"
destdir="${build.dir}"
debug="${build.debug}"
includeantruntime="false">
@@ -59,7 +59,7 @@
<target name="compile-tests" depends="compile"
if="junit.available"
description="Compiles the test code">
- <javac srcdir="${test.dir}"
+ <javac source="1.6" target="1.6" srcdir="${test.dir}"
destdir="${build.dir}"
debug="${build.debug}"
includeantruntime="false">