summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-01-05 16:20:30 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2021-01-05 16:20:30 +0100
commit21d9c07211973b7dddc9f445b6d6566bf1d33aa0 (patch)
treed8858b488e878fa9e6d94bffca085cdcc5d36339
parentfe601a059ab1cbd150826b5c9d40b0b03d19169a (diff)
downloadrules-sandbox-21d9c07211973b7dddc9f445b6d6566bf1d33aa0.tar.gz
rules-sandbox-21d9c07211973b7dddc9f445b6d6566bf1d33aa0.tar.bz2
rules-sandbox-21d9c07211973b7dddc9f445b6d6566bf1d33aa0.tar.xz
rules-sandbox-21d9c07211973b7dddc9f445b6d6566bf1d33aa0.zip
Back to JDK15+preview.
IntelliJ had issues with JDK16.
-rw-r--r--.idea/runConfigurations/Main.xml15
-rw-r--r--pom.xml3
2 files changed, 17 insertions, 1 deletions
diff --git a/.idea/runConfigurations/Main.xml b/.idea/runConfigurations/Main.xml
new file mode 100644
index 0000000..73974ed
--- /dev/null
+++ b/.idea/runConfigurations/Main.xml
@@ -0,0 +1,15 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Main" type="Application" factoryName="Application" nameIsGenerated="true">
+ <option name="MAIN_CLASS_NAME" value="io.trygvis.rules.engine.Main" />
+ <module name="rules-sandbox" />
+ <extension name="coverage">
+ <pattern>
+ <option name="PATTERN" value="io.trygvis.rules.engine.*" />
+ <option name="ENABLED" value="true" />
+ </pattern>
+ </extension>
+ <method v="2">
+ <option name="Make" enabled="true" />
+ </method>
+ </configuration>
+</component> \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 50a3801..a8c44ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
<drools.version>7.47.0.Final</drools.version>
<version.jackson>2.12.0</version.jackson>
- <java.version>16</java.version>
+ <java.version>15</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -125,6 +125,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
+ <compilerArgs>--enable-preview</compilerArgs>
<encoding>UTF-8</encoding>
<release>${java.version}</release>
<source>${java.version}</source>