mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Put optimization behind a profile as it won't currently work with JDK9
This commit is contained in:
parent
6ffb40e1fd
commit
c044a946e9
36
core/pom.xml
36
core/pom.xml
|
@ -35,22 +35,30 @@
|
|||
<version>3.2.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.wvengen</groupId>
|
||||
<artifactId>proguard-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<options combine.children="append">
|
||||
<option>-optimizations !code/simplification/cast,!code/allocation/variable,!field/*,!class/*,!method/*</option>
|
||||
</options>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<name>ZXing Core</name>
|
||||
<description>Core barcode encoding/decoding library</description>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>proguard-library</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.wvengen</groupId>
|
||||
<artifactId>proguard-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<options combine.children="append">
|
||||
<option>-optimizations !code/simplification/cast,!code/allocation/variable,!field/*,!class/*,!method/*</option>
|
||||
</options>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
|
|
Loading…
Reference in a new issue