Switch Java compiler source/target to 1.8

Resolves: RHEL-52690
This commit is contained in:
Marian Koncek 2024-02-24 08:52:26 +01:00 committed by Mikolaj Izdebski
parent afece3af70
commit 060f87fba0

View File

@ -40,7 +40,7 @@ find . -type f -exec chmod 644 {} \;
%mvn_file %{name}:%{name} %{name} %mvn_file %{name}:%{name} %{name}
%build %build
ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc %ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
%install %install
%mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar %mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar
@ -54,6 +54,10 @@ ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc
%license LICENSE.md %license LICENSE.md
%changelog %changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-10
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52690
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.10-10 * Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.10-10
- Bump release for Aug 2024 java mass rebuild - Bump release for Aug 2024 java mass rebuild