The issue is not with the wrapper, Android Studio operates fine when using 
the wrapper, a deamon is started, and Android Studio communicates with it 
just fine. Agreed it might not be the best way but it does appear to be a 
supported and encouraged way to do things: 
http://www.gradle.org/docs/current/userguide/gradle_wrapper.html

The issue is that every time I do a gradle sync it changes a preference I 
set that should be (and previously was) persistent.

On Wednesday, December 3, 2014 2:54:44 PM UTC-5, sbarta wrote:
>
> It seems odd to do this sort of thing from the Gradle wrapper, since 
> ideally the wrapper ought to be an optional optimization but not required: 
> if you're building from the command line you should be able to bypass the 
> wrapper and run from a locally installed version of Gradle. It also makes 
> it harder to understand what's going on in the build because it's not 
> obvious to someone unfamiliar with the environment where these extra build 
> pieces are coming from since the wrapper is hidden.
>
> What you're doing sounds like something that would be more suitable for 
> using a boilerplate external script (see 
> http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html)
>
> On Wed, Dec 3, 2014 at 11:44 AM, Pete Winterscheidt <[email protected] 
> <javascript:>> wrote:
>
>>
>> <https://lh6.googleusercontent.com/-nDZrIFDeCCU/VH9l7yZvhaI/AAAAAAABJmc/THMD6k3DeV4/s1600/Screen%2BShot%2B2014-12-03%2Bat%2B2.33.37%2BPM.png>
>> My company has a standard gradle wrapper that does a variety of things: 
>> adds utility tasks, sets up our local artifactory repository, and such.
>>
>> Without using my local gradle wrapper none of my dependencies will load, 
>> artifacts are not published.
>>
>> This has certainly changed from 0.9 to 1.0 as previously when I selected 
>> "Use customizable gradle wrapper" it would stay selected across gradle 
>> syncs. Now every time I do a gradle sync it resets to use local gradle 
>> distribution and breaks my build.
>>
>>
>> On Wednesday, December 3, 2014 11:18:26 AM UTC-5, Pete Winterscheidt 
>> wrote:
>>>
>>> Hello all,
>>> I am running a customized gradle wrapper, and Android Studio keeps 
>>> trying to ignore it.
>>> Since upgrading to the new 1.0 RC 2 every time I do a gradle sync I have 
>>> to go to the preferences to reset the configuration to indicate that I am 
>>> using a customized wrapper.
>>>
>>> Is there something I can set in a config to prevent this from happening?
>>> Thanks,
>>> Pete
>>>
>>  -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to