From 8628f42184dd92586aa294aa0bc920f38ac6f978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Ko=C5=BEusznik?= <jan@kozusznik.cz>
Date: Fri, 30 Sep 2022 16:23:54 +0200
Subject: [PATCH] Java 17

---
 pom.xml                        | 16 +++-------------
 src/main/java/module-info.java |  2 --
 2 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/pom.xml b/pom.xml
index 36e736a..2b9412c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,25 +3,15 @@
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>cz.jezek</groupId>
-	<artifactId>lab09-efrei</artifactId>
+	<artifactId>lab09</artifactId>
 	<version>0.0.1-SNAPSHOT</version>
 	<packaging>jar</packaging>
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-		<maven.compiler.source>11</maven.compiler.source>
-		<maven.compiler.target>11</maven.compiler.target>
+		<maven.compiler.source>17</maven.compiler.source>
+		<maven.compiler.target>17</maven.compiler.target>
 	</properties>
 	<dependencies>
-		<dependency>
-			<groupId>org.openjfx</groupId>
-			<artifactId>javafx-controls</artifactId>
-			<version>11</version>
-		</dependency>
-		<dependency>
-			<groupId>org.openjfx</groupId>
-			<artifactId>javafx-fxml</artifactId>
-			<version>11</version>
-		</dependency>
 		<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
 		<dependency>
 			<groupId>org.junit.jupiter</groupId>
diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java
index edc025f..3575740 100644
--- a/src/main/java/module-info.java
+++ b/src/main/java/module-info.java
@@ -1,6 +1,4 @@
 module cz.jezek.lab10 {
-    requires transitive javafx.controls;
-    requires javafx.fxml;
     opens cz.jezek.lab11 to javafx.fxml;
     exports cz.jezek.lab11;
 }
\ No newline at end of file
-- 
GitLab