后端 Android in Hudson (9) 范例 ant build file

ycyuanchao · September 14, 2019 · 0 hits

Android in Hudson (9) 范例 ant build file


下面是我 android 项目用的 build file 完整内容,大家可以参考。


    <?xml version="1.0" encoding="UTF-8" standalone="no"?>



<!-- Sign apk -->

<!-- daily build apk folder -->

<!-- findbugs -->

<!-- PMD -->

<!-- CheckStyle -->

<!-- release with sign --> <!-- Signs the APK --> Signing final apk...

<!-- Zip aligns the APK --> Release Package: ${out.release.file}

<!-- findbugs -->

<!-- PMD --> rulesets/favorites.xml basic


以下是我 android test 项目用的 build file 完整内容,大家可以参考。


    <?xml version="1.0" encoding="UTF-8"?>


<!-- The local.properties file is created and updated by the 'android' tool. It contains the path to the SDK. It should NOT be checked in in Version Control Systems. -->

<!-- Custom Android task to deal with the project target, and import the proper rules. This requires ant 1.6.0 or above. -->

Downloading XML test report... Downloading coverage file into project directory... Extracting coverage report... <!-- TODO: report.dir or something like should be introduced if necessary --> <!-- TODO: reports in other, indicated by user formats --> Cleaning up temporary files... Saving the report file in ${basedir}/coverage/coverage.xml


这两个 build file 写法应该不是最好的,仅供给大家参考。

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.