Configure Java module path when compiler is invoked in -Xbuild-file mode
#KT-27626 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<modules>
|
||||
<module name="app" type="java-production" outputDir="$TEMP_DIR$/app">
|
||||
<sources path="$TESTDATA_DIR$/usage/usage.kt"/>
|
||||
<javaSourceRoots path="$TESTDATA_DIR$/usage"/>
|
||||
</module>
|
||||
</modules>
|
||||
@@ -0,0 +1,2 @@
|
||||
warning: the '-d' option with a directory destination is ignored because '-Xbuild-file' is specified
|
||||
OK
|
||||
@@ -0,0 +1,3 @@
|
||||
module usage {
|
||||
requires kotlin.stdlib;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class Test {
|
||||
fun test() = KotlinVersion.CURRENT
|
||||
}
|
||||
Reference in New Issue
Block a user