canonicalLocales

abstract val canonicalLocales: Provider<List<String>>

Normalized, de-duplicated locale tags.

Resolves later than the rest of this view. When the list is auto-detected rather than pinned, it depends on finding the shared module, which is only known after every project has been evaluated. Wire it into a task and let it resolve at execution time:

someTask.localeList.set(kiteConfig.canonicalLocales)

Calling get() during configuration returns an empty list, because detection has not run yet. That answer is local to the caller and does not affect the list the build uses.