HtmlBuilder is commented out, compilation fails; Using "testlib/module.kt" to compile Unit tests with module.
This commit is contained in:
@@ -385,13 +385,13 @@
|
|||||||
<testlib-junit-tests classpath = "${tests-jar}"/>
|
<testlib-junit-tests classpath = "${tests-jar}"/>
|
||||||
|
|
||||||
<!-- Module => Explicit Jar -->
|
<!-- Module => Explicit Jar -->
|
||||||
<kotlinc-jar module = "${basedir}/build-tools/test/modules/Testlib.kts"/>
|
<kotlinc-jar module = "${basedir}/testlib/module.kt"/>
|
||||||
<testlib-junit-tests classpath = "${tests-jar}"/>
|
<testlib-junit-tests classpath = "${tests-jar}"/>
|
||||||
|
|
||||||
<!-- Module => Default Jar -->
|
<!-- Module => Default Jar -->
|
||||||
<kotlinc-jar module = "${basedir}/build-tools/test/modules/Testlib.kts" jar=""/>
|
<kotlinc-jar module = "${basedir}/testlib/module.kt" jar=""/>
|
||||||
<move file="${basedir}/build-tools/test/modules/Testlib.jar" todir="${tests-dir}"/>
|
<move file="${basedir}/testlib/testlib.jar" todir="${tests-dir}"/>
|
||||||
<testlib-junit-tests classpath = "${tests-dir}/Testlib.jar"/>
|
<testlib-junit-tests classpath = "${tests-dir}/testlib.jar"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
import kotlin.modules.*
|
|
||||||
|
|
||||||
val homeDir = "../../../testlib/test"
|
|
||||||
|
|
||||||
fun project() {
|
|
||||||
module("Testlib") {
|
|
||||||
sources += homeDir
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user