Hi,

I'm trying to migrate an Ant build to Gradle and I haven't been able to
figure out how to migrate the following behaviour.

In my Ant build, each developer adds a property to their
<user.home>/build.properties file that identifies which profile they are
using. Each developer is assigned a unique profile.

e.g.
    profile.id=local01

The main build script reads the above property and uses it to load
properties from a profile-specific properties file that is stored in a
module of the checked out project.

e.g.

    project_root
            master
                    profiles
                            local01
                                    build.properties
                            local02
                                    build.properties


So in Gradle, is there a way to load an arbitrary properties file which will
then become properties of the current project?

Regards,
Kevin

Reply via email to