summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>