|
|
|
|
@ -152,6 +152,8 @@
|
|
|
|
|
match="API_SECRET = .*"
|
|
|
|
|
replace="API_SECRET = "${apikey.analytics.secret}";" />
|
|
|
|
|
|
|
|
|
|
<antcall target="updatekeys-lite" />
|
|
|
|
|
|
|
|
|
|
<replaceregexp file="${source.dir}/com/todoroo/astrid/billing/BillingConstants.java"
|
|
|
|
|
match="PUB_KEY_REPLACE_CHAR = .*"
|
|
|
|
|
replace="PUB_KEY_REPLACE_CHAR = '${apikey.googleplay.replacechar}';" />
|
|
|
|
|
@ -161,6 +163,15 @@
|
|
|
|
|
replace="PUB_KEY_OBFUSCATED = "${apikey.googleplay.pubkey}";" />
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target name="updatekeys-lite" if="lite.enabled">
|
|
|
|
|
<replaceregexp file="${source.dir}/com/todoroo/astrid/service/abtesting/ABTestInvoker.java"
|
|
|
|
|
match="API_KEY = .*"
|
|
|
|
|
replace="API_KEY = "${apikey.analytics.lite.id}";" />
|
|
|
|
|
<replaceregexp file="${source.dir}/com/todoroo/astrid/service/abtesting/ABTestInvoker.java"
|
|
|
|
|
match="API_SECRET = .*"
|
|
|
|
|
replace="API_SECRET = "${apikey.analytics.lite.secret}";" />
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target name="updatekeys-pre" if="pre.astrid" description="use pre.astrid.com">
|
|
|
|
|
<property file="${apikey.keyfile}" />
|
|
|
|
|
<replaceregexp file="${source.dir}/com/todoroo/astrid/actfm/sync/ActFmInvoker.java"
|
|
|
|
|
@ -176,6 +187,7 @@
|
|
|
|
|
match="APP_ID = .*"
|
|
|
|
|
replace="APP_ID = "${apikey.facebook.id}";" />
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<target name="-release-prompt-for-password" description="override to set signature">
|
|
|
|
|
<property file="${signjar.passfile}" /> <echo message="${signjar.passfile}" />
|
|
|
|
|
|