1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Don’t use variants for apt.

This commit is contained in:
Cedric Beust 2017-04-17 17:46:56 -07:00
parent 007e616e7f
commit da332b1716

View file

@ -92,8 +92,7 @@ class AptPlugin @Inject constructor(val dependencyManager: DependencyManager, va
}
private fun generated(project: Project, context: KobaltContext, outputDir: String) =
KFiles.joinAndMakeDir(project.directory, project.buildDirectory, outputDir,
context.variant.toIntermediateDir())
KFiles.joinAndMakeDir(project.directory, project.buildDirectory, outputDir)
private fun generatedSources(project: Project, context: KobaltContext, outputDir: String) =
KFiles.joinDir(generated(project, context, outputDir), "sources")