Your Suggestions didn't work.
I don't have
buildconfigvalue
nor
resvalue
, using plugin 0.12
On Wednesday, July 23, 2014 7:23:23 PM UTC+1, Tiago Veloso wrote:
>
> Thanks Jake,
>
> Your suggestions can put me on the right track. But what if I want to read
> from a "*.properties" file?
> Is that possible?
>
> I have a set of properties that I want to configure based on build type.
>
> On Wednesday, July 23, 2014 4:46:24 PM UTC+1, Jake Wharton wrote:
>>
>> You can also do the resource approach solely from the build.gradle,
>> actually:
>>
>> android {
>> buildTypes {
>> debug {
>> resValue "string" "ftp_port" "\"7655\""
>> }
>> release {
>> resValue "string" "ftp_port" "\"21\""
>> }
>> }
>> }
>>
>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.