mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Generate proguard rules for code gen on demand (#1067)
* Extract target constructor signature into TargetConstructor.kt We'll need this to know what the runtime types are for proguard rules * Add ProguardConfig * Wire in proguard config * Write proguard configs out with adapters * Add full tests * Now remove the rules! * Ignore on inline classes for now * Pass adapter constructor params correctly
This commit is contained in:
@@ -47,6 +47,11 @@
|
||||
<artifactId>kotlinpoet-classinspector-elements</artifactId>
|
||||
<version>${kotlinpoet.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ow2.asm</groupId>
|
||||
<artifactId>asm</artifactId>
|
||||
<version>${asm.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.ltgt.gradle.incap</groupId>
|
||||
<artifactId>incap</artifactId>
|
||||
|
Reference in New Issue
Block a user