You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Sonam Ramchand <so...@venturedive.com> on 2020/11/25 07:43:50 UTC

Gradle Build issue

Hi Devs,
When I run the "Gradle build" command after I take the latest pull, I have
been getting the following error.

FAILURE: Build failed with an exception.

* Where:
*Build file '/home/vend/ApacheBeam/beam/buildSrc/build.gradle' line: 23*




** What went wrong:An exception occurred applying plugin request [id:
'com.diffplug.spotless', version: '5.6.1']> Failed to apply plugin [id
'com.diffplug.spotless']   > Spotless requires Gradle 5.4 or newer, this
was 4.4.1*

*Any idea about this?*


*Thank you!*--

Regards,
*Sonam*
Software Engineer
Mobile: +92 3088337296

<http://venturedive.com/>

Re: Gradle Build issue

Posted by Sonam Ramchand <so...@venturedive.com>.
Thanks Michal!
It helped.

On Wed, Nov 25, 2020 at 1:23 PM Michał Walenia <mi...@polidea.com>
wrote:

> Hi,
> are you using your local installation of Gradle or the wrapper supplied in
> the repo? If you're running the task with `gradle` command, try using
> `./gradlew` instead, this will use the wrapper.
>
> Have a good day,
> Michal
>
>
> On Wed, Nov 25, 2020 at 8:44 AM Sonam Ramchand <
> sonam.ramchand@venturedive.com> wrote:
>
>> Hi Devs,
>> When I run the "Gradle build" command after I take the latest pull, I
>> have been getting the following error.
>>
>> FAILURE: Build failed with an exception.
>>
>> * Where:
>> *Build file '/home/vend/ApacheBeam/beam/buildSrc/build.gradle' line: 23*
>>
>>
>>
>>
>> ** What went wrong:An exception occurred applying plugin request [id:
>> 'com.diffplug.spotless', version: '5.6.1']> Failed to apply plugin [id
>> 'com.diffplug.spotless']   > Spotless requires Gradle 5.4 or newer, this
>> was 4.4.1*
>>
>> *Any idea about this?*
>>
>>
>> *Thank you!*--
>>
>> Regards,
>> *Sonam*
>> Software Engineer
>> Mobile: +92 3088337296
>>
>> <http://venturedive.com/>
>>
>
>
> --
>
> Michał Walenia
> Polidea <https://www.polidea.com/> | Software Engineer
>
> M: +48 791 432 002 <+48791432002>
> E: michal.walenia@polidea.com
>
> Unique Tech
> Check out our projects! <https://www.polidea.com/our-work>
>


-- 

Regards,
*Sonam*
Software Engineer
Mobile: +92 3088337296

<http://venturedive.com/>

Re: Gradle Build issue

Posted by Michał Walenia <mi...@polidea.com>.
Hi,
are you using your local installation of Gradle or the wrapper supplied in
the repo? If you're running the task with `gradle` command, try using
`./gradlew` instead, this will use the wrapper.

Have a good day,
Michal


On Wed, Nov 25, 2020 at 8:44 AM Sonam Ramchand <
sonam.ramchand@venturedive.com> wrote:

> Hi Devs,
> When I run the "Gradle build" command after I take the latest pull, I have
> been getting the following error.
>
> FAILURE: Build failed with an exception.
>
> * Where:
> *Build file '/home/vend/ApacheBeam/beam/buildSrc/build.gradle' line: 23*
>
>
>
>
> ** What went wrong:An exception occurred applying plugin request [id:
> 'com.diffplug.spotless', version: '5.6.1']> Failed to apply plugin [id
> 'com.diffplug.spotless']   > Spotless requires Gradle 5.4 or newer, this
> was 4.4.1*
>
> *Any idea about this?*
>
>
> *Thank you!*--
>
> Regards,
> *Sonam*
> Software Engineer
> Mobile: +92 3088337296
>
> <http://venturedive.com/>
>


-- 

Michał Walenia
Polidea <https://www.polidea.com/> | Software Engineer

M: +48 791 432 002 <+48791432002>
E: michal.walenia@polidea.com

Unique Tech
Check out our projects! <https://www.polidea.com/our-work>