Skip to content

Commit bb2652b

Browse files
committed
#455 update SWT and minimum Java version to 17
1 parent e98ae58 commit bb2652b

File tree

8 files changed

+56
-10
lines changed

8 files changed

+56
-10
lines changed

.idea/misc.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/resourceBundles.xml

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Main.xml

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Unit_tests.xml

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Changes in 3.9.2 (unreleased):
2+
- Linux: specify Java 17 as minimum required version in .deb and .rpm packages
3+
14
Changes in 3.9.1:
25
- Mac: fix permissions in bundled JRE, so that MAC address scanning would work #384
36
- Linux startup fix if JAVA_HOME has spaces #391

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ String exec(def line, String dir = ".", boolean failOnError = true) {
2929

3030
version = exec("git describe --tags", ".", false) ?: "unknown"
3131

32-
sourceCompatibility = targetCompatibility = 11
32+
sourceCompatibility = targetCompatibility = 17
3333

3434
def javaModules = ["java.base", "java.prefs", "java.logging", "jdk.crypto.ec"]
3535
project.ext.set("javaModules", javaModules)
@@ -65,7 +65,7 @@ configurations {
6565
}
6666

6767
dependencies {
68-
def swtVersion = '3.123.0'
68+
def swtVersion = '3.130.0'
6969
linux64 "org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64:${swtVersion}"
7070
win64 "org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64:${swtVersion}"
7171
macX86 "org.eclipse.platform:org.eclipse.swt.cocoa.macosx.x86_64:${swtVersion}"

ext/deb-bundle/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Version: VERSION
44
Priority: optional
55
Architecture: ARCH
66
Installed-Size: 1940
7-
Depends: java-runtime (>= 11)
7+
Depends: java-runtime (>= 17)
88
Maintainer: Anton Keks <[email protected]>
99
License: GPL-2
1010
Description: Angry IP Scanner - fast and friendly IP Scanner

ext/rpmbuild/SPECS/ipscan.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Group: Applications/Internet
77
BuildRoot: %{_builddir}/%{name}
88
URL: https://angryip.org/
99
Packager: Anton Keks
10-
Requires: java >= 11
10+
Requires: java >= 17
1111

1212
%description
1313
Angry IP Scanner is a cross-platform network scanner written in Java.

0 commit comments

Comments
 (0)