MiSikora / laboratory

Feature flags for multi-module Kotlin Android projects
https://mehow.io/laboratory/
Apache License 2.0
82 stars 3 forks source link

Avoid IllegalArgumentException on kotlin 1.7.20 #285

Closed vudzkostek closed 2 years ago

vudzkostek commented 2 years ago

:bulb: Motivation

https://github.com/MiSikora/laboratory/issues/284

With kotlin 1.7.20, some of the source sets (that are nullable properties) are actually null. In order to avoid crash, we create an empty source set and use it as a fallback.

:pencil: Checklist

MiSikora commented 2 years ago

Closes #284