mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 08:34:11 -08:00
79 lines
2.5 KiB
XML
79 lines
2.5 KiB
XML
<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>
|
|
|
|
<parent>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm</artifactId>
|
|
<version>0.2-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>teavm-scala-samples</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-dom</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/scala</sourceDirectory>
|
|
<testSourceDirectory>src/test/scala</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
<version>3.1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<scalaVersion>2.10.0</scalaVersion>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-classlib</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
<version>2.10.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-hello</id>
|
|
<goals>
|
|
<goal>build-javascript</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<mainClass>org.teavm.scala.samples.HelloWorld</mainClass>
|
|
<mainPageIncluded>true</mainPageIncluded>
|
|
<targetDirectory>${project.build.directory}/javascript</targetDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |