mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
BuildConfig.
This commit is contained in:
parent
a95c227554
commit
035a205047
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class Variant(val initialProductFlavor: ProductFlavorConfig? = null,
|
||||||
// that directory will be added when trying to find recursively all the sources in it
|
// that directory will be added when trying to find recursively all the sources in it
|
||||||
generatedSourceDirectory = File(result.relativeTo(File(project.directory)).absolutePath)
|
generatedSourceDirectory = File(result.relativeTo(File(project.directory)).absolutePath)
|
||||||
val outputGeneratedSourceDirectory = File(result, pkg.replace('.', File.separatorChar))
|
val outputGeneratedSourceDirectory = File(result, pkg.replace('.', File.separatorChar))
|
||||||
val outputDir = File(outputGeneratedSourceDirectory, "BuildConfig" + contributor.suffix)
|
val outputDir = File(outputGeneratedSourceDirectory, "BuildConfig" + contributor.buildConfigSuffix)
|
||||||
KFiles.saveFile(outputDir, code)
|
KFiles.saveFile(outputDir, code)
|
||||||
log(2, "Generated ${outputDir.path}")
|
log(2, "Generated ${outputDir.path}")
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue