Proguard - do not obfuscate Kotlin data classes : <p>In my project I use <a href="http://ryanharter.com/blog/2016/03/22/autovalue/" rel="noreferrer">AutoValue</a> for my old model classes. I started using Kotlin and I want to use <a href="https://kotlinlang.org/docs/reference/data-classes.html" rel="noreferrer">Data Classes</a> instead of AutoValue. I want to disable the obfuscation for all <strong>Data classes</strong> in my <strong>Data layer</strong> but to keep obfuscating the other classes in the package.</p>

<p>Is there a way to do this?</p>

<p>I would expect to have something like this in my <strong>Proguard</strong> file:</p>

<pre><code>-keepclassmembers data class example.data_layer.** { *; }
</code></pre>
