Kapt: Implement 'kapt' command-line tool (KT-24998, KT-24997)
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ private const val BACKSLASH = '\\'
|
||||
* This is done prior to *any* arguments parsing, and result of preprocessing
|
||||
* will be used instead of actual passed arguments.
|
||||
*/
|
||||
internal fun preprocessCommandLineArguments(args: List<String>, errors: ArgumentParseErrors): List<String> =
|
||||
fun preprocessCommandLineArguments(args: List<String>, errors: ArgumentParseErrors): List<String> =
|
||||
args.flatMap { arg ->
|
||||
if (arg.isArgfileArgument) {
|
||||
File(arg.argfilePath).expand(errors)
|
||||
|
||||
Reference in New Issue
Block a user