summaryrefslogtreecommitdiffstats
path: root/buildSrc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc.xml')
-rw-r--r--buildSrc.xml97
1 files changed, 97 insertions, 0 deletions
diff --git a/buildSrc.xml b/buildSrc.xml
new file mode 100644
index 0000000..ec74c1c
--- /dev/null
+++ b/buildSrc.xml
@@ -0,0 +1,97 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>buildSrc</name>
+ <packaging>jar</packaging>
+ <artifactId>buildSrc</artifactId>
+ <groupId>org.openjfx</groupId>
+ <version>@RELEASE_VERSION@</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>ST4</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>stringtemplate</artifactId>
+ </dependency>
+ <!--<dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ </dependency>-->
+ </dependencies>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr3-maven-plugin</artifactId>
+ <configuration>
+ <sourceDirectory>src/main/antlr</sourceDirectory>
+ <!--<outputDirectory>../build/gensrc/antlr</outputDirectory>-->
+ </configuration>
+ <executions>
+ <execution>
+ <id>antlr</id>
+ <goals>
+ <goal>antlr</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!--<plugin>
+ <groupId>org.codehaus.gmavenplus</groupId>
+ <artifactId>gmavenplus-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>addSources</goal>
+ <goal>generateStubs</goal>
+ <goal>compile</goal>
+ <goal>removeStubs</goal>
+ </goals>
+ <configuration>
+ <source>src/main/groovy/CCTask.groovy</source>
+ <source>src/main/groovy/CompileHLSLTask.groovy</source>
+ <source>src/main/groovy/CompileResourceTask.groovy</source>
+ <source>src/main/groovy/ExportedSymbolsTask.groovy</source>
+ <source>src/main/groovy/JavaHeaderTask.groovy</source>
+ <source>src/main/groovy/LinkTask.groovy</source>
+ <source>src/main/groovy/LipoTask.groovy</source>
+ <source>src/main/groovy/NativeCompileTask.groovy</source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>-->
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ <compilerArgs>
+ <arg>-XDignore.symbol.file</arg>
+ <arg>-XDuseUnsharedTable=true</arg>
+ <arg>-proc:none</arg>
+ <arg>-g:source,lines,vars</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>