I am trying to embed a few server addresses in my build.gradle file but I am unsure about how to do this. I know that in maven, you can write
<content.host>http://test.mysite.com</content.host>
and I can use content.host in my Android application. In gradle, I know you can create a build type by
buildTypes {
testBuild.initWith(buildTypes.debug)
testBuild{ /*test server info goes here*/ }
}
But I'm not sure how I can define content.host in gradle using that same method. Is there another way to define content.host in gradle or is there a way to add a custom property to buildTypes?
Cheers,
Derril