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

View File

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