Revert usages of -X arguments to old form in some places
We use the old compiler in Gradle build and in GradleFacetImportTest, so
some changes in f4b6db4 should not have been made yet
This commit is contained in:
@@ -101,7 +101,7 @@ compileBuiltinsKotlin {
|
||||
freeCompilerArgs = [
|
||||
"-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
|
||||
"-Xdump-declarations-to", "${buildDir}/runtime-declarations.json",
|
||||
"-cp", "${rootDir}/../dist/builtins",
|
||||
"-module-name", "kotlin-runtime"
|
||||
]
|
||||
@@ -113,7 +113,7 @@ compileKotlin {
|
||||
"-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-declarations.json",
|
||||
"-Xdump-declarations-to", "${buildDir}/stdlib-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jre7-declarations.json",
|
||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jre7-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jre8-declarations.json",
|
||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jre8-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ sourceSets {
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = ["-Xdump-declarations-to=${buildDir}/cases-declarations.json"]
|
||||
freeCompilerArgs = ['-Xdump-declarations-to', "${buildDir}/cases-declarations.json"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ class KotlinJvmOptionsTest {
|
||||
"-Xreport-perf",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=declarationsPath",
|
||||
"-Xdump-declarations-to", "declarationsPath",
|
||||
"-script-templates", "a,b,c")
|
||||
|
||||
val arguments = K2JVMCompilerArguments()
|
||||
|
||||
@@ -74,7 +74,7 @@ compileKotlin {
|
||||
freeCompilerArgs = ["-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-module-name", "kotlin-reflection",
|
||||
"-Xdump-declarations-to=${buildDir}/reflect-declarations.json"]
|
||||
"-Xdump-declarations-to", "${buildDir}/reflect-declarations.json"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ compileKotlin {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
|
||||
"-Xdump-declarations-to", "${buildDir}/runtime-declarations.json",
|
||||
"-cp", "${rootDir}/../dist/builtins",
|
||||
"-module-name", project.name
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user