[CLI] Rename -XdependsOn flag to -Xdepends-on to keep convention
^KT-56209
This commit is contained in:
committed by
Space Team
parent
18752fc1ad
commit
94faa759cb
+1
-1
@@ -169,7 +169,7 @@ where advanced options include:
|
||||
-Xcommon-sources=<path> Sources of the common module that need to be compiled together with this module in the multi-platform mode.
|
||||
Should be a subset of sources passed as free arguments
|
||||
-Xcontext-receivers Enable experimental context receivers
|
||||
-XdependsOn=<fromModuleName>:<onModuleName>
|
||||
-Xdepends-on=<fromModuleName>:<onModuleName>
|
||||
Declares that <fromModuleName> depends on <onModuleName> with dependsOn relation
|
||||
-Xdisable-default-scripting-plugin
|
||||
Do not enable scripting plugin by default
|
||||
|
||||
+3
-3
@@ -9,6 +9,6 @@ $TEMP_DIR$
|
||||
-Xmodule=a;$TESTDATA_DIR$/src/a.kt
|
||||
-Xmodule=b;$TESTDATA_DIR$/src/b.kt
|
||||
-Xmodule=c;$TESTDATA_DIR$/src/c.kt
|
||||
-XdependsOn=b\:a
|
||||
-XdependsOn=c\:b
|
||||
-XdependsOn=a\:c
|
||||
-Xdepends-on=b\:a
|
||||
-Xdepends-on=c\:b
|
||||
-Xdepends-on=a\:c
|
||||
|
||||
@@ -5,4 +5,4 @@ $TEMP_DIR$
|
||||
2.0
|
||||
-XXLanguage\:+MultiPlatformProjects
|
||||
-Xmodule=a;$TESTDATA_DIR$/src/a.kt
|
||||
-XdependsOn=b\:a
|
||||
-Xdepends-on=b\:a
|
||||
|
||||
@@ -8,5 +8,5 @@ as no stability/compatibility guarantees are given on
|
||||
compiler or generated code. Use it at your own risk!
|
||||
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
error: -XdependsOn flag is specified but there is only one module declared
|
||||
error: -Xdepends-on flag is specified but there is only one module declared
|
||||
COMPILATION_ERROR
|
||||
|
||||
@@ -4,4 +4,4 @@ $TEMP_DIR$
|
||||
-language-version
|
||||
2.0
|
||||
-XXLanguage\:+MultiPlatformProjects
|
||||
-XdependsOn=a\:b
|
||||
-Xdepends-on=a\:b
|
||||
|
||||
@@ -8,5 +8,5 @@ as no stability/compatibility guarantees are given on
|
||||
compiler or generated code. Use it at your own risk!
|
||||
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
error: -XdependsOn flag can not be used without -Xmodule
|
||||
error: -Xdepends-on flag can not be used without -Xmodule
|
||||
COMPILATION_ERROR
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ $TEMP_DIR$
|
||||
-XXLanguage\:+MultiPlatformProjects
|
||||
-Xmodule=a;$TESTDATA_DIR$/src/a.kt
|
||||
-Xmodule=b;$TESTDATA_DIR$/src/b.kt
|
||||
-XdependsOn=c\:a
|
||||
-Xdepends-on=c\:a
|
||||
|
||||
@@ -9,5 +9,5 @@ $TEMP_DIR$
|
||||
-Xmodule=a;$TESTDATA_DIR$/src/a.kt
|
||||
-Xmodule=b;$TESTDATA_DIR$/src/b.kt
|
||||
-Xmodule=c;$TESTDATA_DIR$/src/c.kt
|
||||
-XdependsOn=b\:a
|
||||
-XdependsOn=c\:b
|
||||
-Xdepends-on=b\:a
|
||||
-Xdepends-on=c\:b
|
||||
|
||||
Reference in New Issue
Block a user