Cleanup RC deprecations in compiler and plugin.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ class AndroidCommandLineProcessor : CommandLineProcessor {
|
||||
override fun processOption(option: CliOption, value: String, configuration: CompilerConfiguration) {
|
||||
when (option) {
|
||||
VARIANT_OPTION -> {
|
||||
val paths = configuration.getList(AndroidConfigurationKeys.VARIANT).toArrayList()
|
||||
val paths = configuration.getList(AndroidConfigurationKeys.VARIANT).toMutableList()
|
||||
paths.add(value)
|
||||
configuration.put(AndroidConfigurationKeys.VARIANT, paths)
|
||||
}
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ class StubProducerExtension(val stubsOutputDir: File) : AnalysisCompletedHandler
|
||||
StubClassBuilderFactory(),
|
||||
module,
|
||||
bindingContext,
|
||||
files.toArrayList(),
|
||||
files.toList(),
|
||||
disableCallAssertions = false,
|
||||
disableParamAssertions = false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user