Gradle
  1. Gradle
  2. GRADLE-1121

Support ConfigSlurper-based user configuration file.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 0.9
    • Fix Version/s: None

      Description

      Please consider supporting a ConfigSlurper-based configuration file in addition to gradle.properties. The particular reason I would like this is so that I can conditionally set an HTTP proxy. But I imagine there are other uses too.

      Also, it would be really nice if I could set a proxy that works for both download and upload repositories. MavenDeployer is simply broken for me. I'm ranting a bit, but I'm frustrated at not being able to upload the Grails Gradle plugin from work.

        Activity

        Hide
        Hans Dockter added a comment -

        This is on the list of things to do. We want to provide project and user specific init scripts. There are many use cases for this. You can already put an init.gradle in your GRADLE_USER_HOME. This will be executed as part of every gradle project.

        Show
        Hans Dockter added a comment - This is on the list of things to do. We want to provide project and user specific init scripts. There are many use cases for this. You can already put an init.gradle in your GRADLE_USER_HOME. This will be executed as part of every gradle project.
        Hide
        Hans Dockter added a comment -

        For the conditional proxy problem the global init script should be in fact the right solution.

        Show
        Hans Dockter added a comment - For the conditional proxy problem the global init script should be in fact the right solution.

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development