ChrisLawson34 / jarjar

Automatically exported from code.google.com/p/jarjar
0 stars 0 forks source link

Jarjar not shrink jar library #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
My project used google-play-service lib, as you know it much huge. I want 
reduce some module in this, such as: ads, wallet, plus, panorama... I config 
file pom as below:

....
 <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>jarjar-maven-plugin</artifactId>
                <version>1.9</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jarjar</goal>
                        </goals>
                        <configuration>
                            <includes>
                                <include>com.google.android.gms:google-play-services</include>
                            </includes>
                            <rules>
                                <rule>
                                    <pattern>com.google.android.gms.location.**</pattern>
                                    <result>com.google.play.service.inject.location.@1</result>
                                </rule>
                                <rule>
                                    <pattern>com.google.android.gms.maps.**</pattern>
                                    <result>com.google.play.service.inject.maps.@2</result>
                                </rule>
                                <keep>
                                    <pattern>com.google.play.service.inject.**</pattern>
                                </keep>

                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

But number method of google-play-service library not reduce. Please help me 
resole this issue?

Original issue reported on code.google.com by khiemvx...@gmail.com on 10 Oct 2014 at 4:48