@@ -87,7 +87,11 @@ Wisconsin-Madison.</license.copyrightOwners>
8787
8888 <!-- NB: Work around duplicate classes issue in Kotlin dependencies-->
8989 <allowedDuplicateClasses >org/jetbrains/kotlin/daemon/common/*,kotlinx/coroutines/**</allowedDuplicateClasses >
90- <kotlin .version>1.4.21</kotlin .version>
90+ <kotlin .version>1.4.30</kotlin .version>
91+ <!-- NB: Have to disable manifest-only jar ot be able to run tests on command line. -->
92+ <!-- NB: Tests work in IntelliJ but manifest-only jar seems to mess with it on command line. -->
93+ <!-- NB: cf: mvn surefire:help -Ddetail=true -->
94+ <surefire .useManifestOnlyJar>false</surefire .useManifestOnlyJar>
9195 </properties >
9296
9397 <repositories >
@@ -110,6 +114,21 @@ Wisconsin-Madison.</license.copyrightOwners>
110114 <artifactId >kotlin-compiler-embeddable</artifactId >
111115 <version >${kotlin.version} </version >
112116 </dependency >
117+ <dependency >
118+ <groupId >org.jetbrains.kotlin</groupId >
119+ <artifactId >kotlin-script-runtime</artifactId >
120+ <version >${kotlin.version} </version >
121+ </dependency >
122+ <dependency >
123+ <groupId >org.jetbrains.kotlin</groupId >
124+ <artifactId >kotlin-scripting-compiler-embeddable</artifactId >
125+ <version >${kotlin.version} </version >
126+ </dependency >
127+ <dependency >
128+ <groupId >org.jetbrains.kotlin</groupId >
129+ <artifactId >kotlin-scripting-compiler-impl-embeddable</artifactId >
130+ <version >${kotlin.version} </version >
131+ </dependency >
113132 <dependency >
114133 <groupId >org.jetbrains.kotlin</groupId >
115134 <artifactId >kotlin-stdlib</artifactId >
@@ -120,13 +139,41 @@ Wisconsin-Madison.</license.copyrightOwners>
120139 <artifactId >kotlin-scripting-jsr223</artifactId >
121140 <version >${kotlin.version} </version >
122141 </dependency >
142+ <dependency >
143+ <groupId >org.jetbrains.kotlin</groupId >
144+ <artifactId >kotlin-compiler-client-embeddable</artifactId >
145+ <version >${kotlin.version} </version >
146+ </dependency >
147+ <dependency >
148+ <groupId >org.jetbrains.kotlin</groupId >
149+ <artifactId >kotlin-script-util</artifactId >
150+ <version >${kotlin.version} </version >
151+ </dependency >
152+ <dependency >
153+ <groupId >org.jetbrains.kotlin</groupId >
154+ <artifactId >kotlin-scripting-jvm-host</artifactId >
155+ <version >${kotlin.version} </version >
156+ </dependency >
123157
124158 <!-- Test dependencies -->
125159 <dependency >
126- <groupId >junit</groupId >
127- <artifactId >junit</artifactId >
160+ <groupId >org.testng</groupId >
161+ <artifactId >testng</artifactId >
162+ <version >7.1.0</version >
128163 <scope >test</scope >
129164 </dependency >
165+ <!-- <dependency>-->
166+ <!-- <groupId>org.junit.jupiter</groupId>-->
167+ <!-- <artifactId>junit-jupiter</artifactId>-->
168+ <!-- <version>5.7.1</version>-->
169+ <!-- <scope>test</scope>-->
170+ <!-- </dependency>-->
171+ <!-- <dependency>-->
172+ <!-- <groupId>org.jetbrains.kotlin</groupId>-->
173+ <!-- <artifactId>kotlin-test-junit5</artifactId>-->
174+ <!-- <version>${kotlin.version}</version>-->
175+ <!-- <scope>test</scope>-->
176+ <!-- </dependency>-->
130177 <dependency >
131178 <groupId >org.scijava</groupId >
132179 <artifactId >scijava-common</artifactId >
0 commit comments