Merge pull request #771 from square/z/removeRelocation

Remove shading of KotlinPoet
This commit is contained in:
Zac Sweers 2018-12-11 19:35:47 -08:00 committed by GitHub
commit 5153295988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,36 +154,6 @@
<useManifestOnlyJar>false</useManifestOnlyJar>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.squareup:kotlinpoet</include>
</includes>
</artifactSet>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
<relocations>
<!-- Repackage KotlinPoet until its API is stable. -->
<relocation>
<pattern>com.squareup.kotlinpoet</pattern>
<shadedPattern>com.squareup.moshi.kotlinpoet</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>