Implement proper collection of script compilation classpath, use it in the JSR223 example factories

Fixes #KT-14713
This commit is contained in:
Ilya Chernikov
2016-12-04 14:10:26 +01:00
parent f60eb42420
commit 7c8b6ddca4
9 changed files with 144 additions and 122 deletions
@@ -50,18 +50,6 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
@@ -84,12 +72,6 @@
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.6</version>
<configuration>
<systemPropertyVariables>
<kotlin.compiler.jar>${org.jetbrains.kotlin:kotlin-compiler:jar}</kotlin.compiler.jar>
<kotlin.java.runtime.jar>${org.jetbrains.kotlin:kotlin-runtime:jar}</kotlin.java.runtime.jar>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>