mirror of
https://codeberg.org/ProgramSnail/truffle-lama.git
synced 2025-12-06 06:48:47 +00:00
compilation errors fix (project can be built without parser)
This commit is contained in:
parent
0edc46ab92
commit
e39eaeb6ef
31 changed files with 219 additions and 105 deletions
42
pom.xml
42
pom.xml
|
|
@ -9,13 +9,51 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>23</maven.compiler.source>
|
||||
<maven.compiler.target>23</maven.compiler.target>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<graalvm.version>23.1.0</graalvm.version>
|
||||
<antlr.version>4.12.0</antlr.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-exports=java.base/jdk.internal.module=truffle.tck
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.14.0</version>
|
||||
<configuration>
|
||||
<source>21</source>
|
||||
<target>21</target>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.graalvm.truffle</groupId>
|
||||
<artifactId>truffle-dsl-processor</artifactId>
|
||||
<version>${graalvm.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<excludes>
|
||||
<exclude>parser/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<finalName>truffle-lama-from-scratch</finalName>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.graalvm.polyglot</groupId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue