workaround für java 17/19 probleme & paket ergänzt

This commit is contained in:
luca9913 2023-01-17 06:28:19 +01:00
parent 0ee3117d6e
commit b0bec83900
2 changed files with 12 additions and 4 deletions

14
pom.xml
View File

@ -52,13 +52,20 @@ http://maven.apache.org/maven-v4_0_0.xsd">
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<compilerArgs>--enable-preview</compilerArgs>
<release>19</release>
<compilerArgs>
--enable-preview
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.8-1</version>
<configuration>
<visitor>true</visitor>
<listener>false</listener>
</configuration>
<executions>
<execution>
<id>antlr</id>
@ -68,7 +75,7 @@ http://maven.apache.org/maven-v4_0_0.xsd">
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
<repositories>
<repository>
@ -77,9 +84,8 @@ http://maven.apache.org/maven-v4_0_0.xsd">
</repository>
</repositories>
<properties>
<maven.compiler.source>19</maven.compiler.source>
<maven.compiler.target>19</maven.compiler.target>
<mainClass>de.dhbwstuttgart.core.ConsoleInterface</mainClass>
<release>17</release>
</properties>
<distributionManagement>
<repository>

View File

@ -1,3 +1,5 @@
package targetast;
public interface Fun1$$<R, T> {
public R apply(T t);
}