Fix build tool plugins after recent changes to CLI
This commit is contained in:
@@ -23,7 +23,7 @@ class HtmlVisitorTest {
|
||||
val args = K2JVMCompilerArguments()
|
||||
args.kotlinHome = "../../../dist/kotlinc"
|
||||
args.freeArgs = listOf(srcDir.toString())
|
||||
args.outputDir = File(dir, "target/classes-htmldocs").toString()
|
||||
args.destination = File(dir, "target/classes-htmldocs").toString()
|
||||
|
||||
val compiler = K2JVMCompiler()
|
||||
compiler.getCompilerPlugins().add(HtmlCompilerPlugin())
|
||||
|
||||
@@ -50,7 +50,7 @@ class KDocSampleTest {
|
||||
classesOutputDir.rmrf()
|
||||
classesOutputDir.mkdirsProperly()
|
||||
|
||||
args.outputDir = classesOutputDir.getPath()
|
||||
args.destination = classesOutputDir.getPath()
|
||||
|
||||
args.docConfig.docOutputDir = outputDir.getPath()
|
||||
args.docConfig.title = "Sample"
|
||||
|
||||
@@ -30,7 +30,7 @@ class KDocTest {
|
||||
args.freeArgs = listOf("../../stdlib/src",
|
||||
"../../kunit/src/main/kotlin",
|
||||
"../../kotlin-jdbc/src/main/kotlin")
|
||||
args.outputDir = "target/classes-stdlib"
|
||||
args.destination = "target/classes-stdlib"
|
||||
args.noStdlib = true
|
||||
args.classpath = "../runtime/target/kotlin-runtime-0.1-SNAPSHOT.jar${File.pathSeparator}../../lib/junit-4.9.jar"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user