mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Created the generated source directory.
Fixes https://github.com/cbeust/kobalt/issues/433
This commit is contained in:
parent
3ebc40d58f
commit
b937aa6ad8
1 changed files with 4 additions and 1 deletions
|
@ -242,7 +242,10 @@ class AptPlugin @Inject constructor(val dependencyManager: DependencyManager, va
|
|||
fun addFlags(outputDir: String) {
|
||||
aptDependencies[project.name]?.let {
|
||||
result.add("-s")
|
||||
result.add(generatedSources(project, context, outputDir))
|
||||
generatedSources(project, context, outputDir).let { generatedSource ->
|
||||
File(generatedSource).mkdirs()
|
||||
result.add(generatedSource)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue