mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
BuildConfig should use the package name.
This commit is contained in:
parent
7189fcde31
commit
f6cd3e2259
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class Variant(val initialProductFlavor: ProductFlavorConfig? = null,
|
|||
if (buildConfigs.size > 0) {
|
||||
val androidConfig = (Kobalt.findPlugin(AndroidPlugin.PLUGIN_NAME) as AndroidPlugin)
|
||||
.configurationFor(project)
|
||||
val pkg = applicationId(androidConfig) ?: project.packageName ?: project.group
|
||||
val pkg = project.packageName ?: project.group
|
||||
?: throw KobaltException(
|
||||
"packageName needs to be defined on the project in order to generate BuildConfig")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue