mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Only build Android bits if Android SDK is available as ANDROID_HOME
This commit is contained in:
parent
9aaf701356
commit
0de9db4b0f
15
pom.xml
15
pom.xml
|
@ -79,15 +79,12 @@
|
|||
<module>android-integration</module>
|
||||
<module>zxing.appspot.com</module>
|
||||
<module>zxingorg</module>
|
||||
<module>android</module>
|
||||
<module>androidtest</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<slf4j.version>1.7.6</slf4j.version>
|
||||
<android.sdk.path>/Applications/adt-bundle-mac-x86_64-20131030/sdk</android.sdk.path>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
@ -486,6 +483,18 @@
|
|||
</distributionManagement>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>build-android</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>env.ANDROID_HOME</name>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>android</module>
|
||||
<module>androidtest</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>release-sign-artifacts</id>
|
||||
<activation>
|
||||
|
|
Loading…
Reference in a new issue