Disable Android, proguard, appspot for JDK 9

This commit is contained in:
Sean Owen 2017-09-22 17:50:34 +01:00
parent ea6111c7f9
commit 05093ed3d2
2 changed files with 12 additions and 2 deletions

View file

@ -42,7 +42,7 @@
<profile>
<id>proguard-library</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>[,9)</jdk> <!-- Proguard won't work with JDK 9 -->
</activation>
<build>
<plugins>

12
pom.xml
View file

@ -74,8 +74,8 @@
<module>core</module>
<module>javase</module>
<!-- android modules are activated by a profile below -->
<module>zxing.appspot.com</module>
<module>zxingorg</module>
<!-- appspot app activated by a profile below -->
</modules>
<properties>
@ -709,6 +709,7 @@
<property>
<name>env.ANDROID_HOME</name>
</property>
<jdk>[,9)</jdk> <!-- Android won't necessarily work with JDK 9 -->
</activation>
<modules>
<module>android-core</module>
@ -809,6 +810,15 @@
</plugins>
</build>
</profile>
<profile>
<id>appspot</id>
<activation>
<jdk>[,9)</jdk> <!-- Appspot won't work with JDK 9 -->
</activation>
<modules>
<module>zxing.appspot.com</module>
</modules>
</profile>
</profiles>
</project>