Fix the obsolete form of -Xdump-declarations-to argument
This commit is contained in:
@@ -121,7 +121,7 @@ compileBuiltinsKotlin {
|
|||||||
freeCompilerArgs = [
|
freeCompilerArgs = [
|
||||||
"-version",
|
"-version",
|
||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xdump-declarations-to", "${buildDir}/runtime-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
|
||||||
"-cp", "${rootDir}/dist/builtins",
|
"-cp", "${rootDir}/dist/builtins",
|
||||||
"-module-name", "kotlin-runtime"
|
"-module-name", "kotlin-runtime"
|
||||||
]
|
]
|
||||||
@@ -134,7 +134,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/stdlib-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/stdlib-declarations.json",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jdk7-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/stdlib-jdk7-declarations.json",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jdk8-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/stdlib-jdk8-declarations.json",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jre7-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/stdlib-jre7-declarations.json",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/stdlib-jre8-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/stdlib-jre8-declarations.json",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ compileKotlin {
|
|||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-module-name", "kotlin-reflection",
|
"-module-name", "kotlin-reflection",
|
||||||
"-Xdump-declarations-to", "${buildDir}/reflect-declarations.json"]
|
"-Xdump-declarations-to=${buildDir}/reflect-declarations.json"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ compileKotlin {
|
|||||||
freeCompilerArgs = [
|
freeCompilerArgs = [
|
||||||
"-Xallow-kotlin-package",
|
"-Xallow-kotlin-package",
|
||||||
"-Xnormalize-constructor-calls=enable",
|
"-Xnormalize-constructor-calls=enable",
|
||||||
"-Xdump-declarations-to", "${buildDir}/runtime-declarations.json",
|
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
|
||||||
"-cp", "${rootDir}/dist/builtins",
|
"-cp", "${rootDir}/dist/builtins",
|
||||||
"-module-name", project.name
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user