Browse Source

Compile to lower version for better compatibility.

pull/1/head
weisj 5 years ago
parent
commit
050a5ae4b9
  1. 25
      pom.xml

25
pom.xml

@ -10,8 +10,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>12</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>12</maven.compiler.target> <maven.compiler.target>9</maven.compiler.target>
</properties> </properties>
<dependencies> <dependencies>
@ -28,16 +28,29 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.kitfox.svg</groupId> <groupId>com.metsci.ext.com.kitfox.svg</groupId>
<artifactId>svg-salamander</artifactId> <artifactId>svg-salamander</artifactId>
<version>1.0</version> <version>[0.1.19,)</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jetbrains</groupId> <groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId> <artifactId>annotations</artifactId>
<version>16.0.1</version> <version>16.0.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!-- <dependency>-->
<!-- <groupId>net.java.dev.jna</groupId>-->
<!-- <artifactId>jna</artifactId>-->
<!-- <version>4.1.0</version>-->
<!-- <scope>compile</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-compiler</artifactId>
<version>1.3.21</version>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -52,13 +65,11 @@
<version>3.8.0</version> <version>3.8.0</version>
<configuration> <configuration>
<compilerArgs> <compilerArgs>
<arg>--enable-preview</arg> <!-- <arg>&#45;&#45;enable-preview</arg>-->
<arg>--add-exports=java.desktop/sun.awt=ALL-UNNAMED</arg> <arg>--add-exports=java.desktop/sun.awt=ALL-UNNAMED</arg>
<arg>--add-exports=java.desktop/com.sun.java.swing=ALL-UNNAMED</arg> <arg>--add-exports=java.desktop/com.sun.java.swing=ALL-UNNAMED</arg>
<arg>--add-exports=java.desktop/sun.swing=ALL-UNNAMED</arg> <arg>--add-exports=java.desktop/sun.swing=ALL-UNNAMED</arg>
</compilerArgs> </compilerArgs>
<source>12</source>
<target>12</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

Loading…
Cancel
Save