gradlew - How to filter source file using gradle? -


is there plugin or solution filter source file. when using maven there plugin https://github.com/wavesoftware/templating-maven-plugin

that plugin work charm there solution gradle, achieve same result.

for example crate interface holds information build:

public interface buildconfig {  public static final string profile_fast = "fast"; public static final string profile_dev = "dev"; public static final string profile_test = "test"; public static final string profile_uat = "uat"; public static final string profile_prod = "prod";  public static final string app_code = "${app-code}"; public static final string profile_id = "${profile-id}"; public static final string app_version = "${project.version}"; public static final boolean debug = !("${profile-id}").equals(profile_prod); } 

thanks


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -