This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
Warning messages when using Gradle 4.0 #290
Comments
Yeah it's probably cause we use << somewhere in the code.
…On Jul 1, 2017 02:31, "Jake W" ***@***.***> wrote:
After I upgraded to Gradle 4.0, I saw the following warning messages which
might be something to be aware of.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
The line 35 of my build file is this:
apply plugin: 'appengine'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#290>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPo-sLn082RXaECgmuXYSIaohOWNHIZks5sJfXrgaJpZM4OLPtP>
.
|
It's safe to ignore for now, I'll try to fix it in the next release.
…On Jul 1, 2017 08:00, "Appu Goundan" ***@***.***> wrote:
Yeah it's probably cause we use << somewhere in the code.
On Jul 1, 2017 02:31, "Jake W" ***@***.***> wrote:
> After I upgraded to Gradle 4.0, I saw the following warning messages
> which might be something to be aware of.
>
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
> Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
> at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
> The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
> at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
>
> The line 35 of my build file is this:
>
> apply plugin: 'appengine'
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#290>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABPo-sLn082RXaECgmuXYSIaohOWNHIZks5sJfXrgaJpZM4OLPtP>
> .
>
|
Pull requests are also appreciated
…On Jul 1, 2017 08:01, "Appu Goundan" ***@***.***> wrote:
It's safe to ignore for now, I'll try to fix it in the next release.
On Jul 1, 2017 08:00, "Appu Goundan" ***@***.***> wrote:
> Yeah it's probably cause we use << somewhere in the code.
>
> On Jul 1, 2017 02:31, "Jake W" ***@***.***> wrote:
>
>> After I upgraded to Gradle 4.0, I saw the following warning messages
>> which might be something to be aware of.
>>
>> The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
>> Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
>> at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
>> The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
>> at build_32bapygwgn43ck9xwcttab0k9.run(/Users/jake/work/my-app/build.gradle:35)
>>
>> The line 35 of my build file is this:
>>
>> apply plugin: 'appengine'
>>
>> —
>> You are receiving this because you are subscribed to this thread.
>> Reply to this email directly, view it on GitHub
>> <#290>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/ABPo-sLn082RXaECgmuXYSIaohOWNHIZks5sJfXrgaJpZM4OLPtP>
>> .
>>
>
|
I actually misread this whole thing. It's a different issue than I though but still a method deprecation issue.. I'll keep it open. |
One of the issues is using setTestClassesDir -> which is deprecated: Instead the recommendation is to use setTestClassesDirs with a file collection |
Just a reminder to everyone that this plugin is deprecated. No further maintenance is planned and you're encouraged to start using our new cloud sdk based plugin which you can find here. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After I upgraded to Gradle 4.0, I saw the following warning messages which might be something need to be aware of.
The line 35 of my build file is this:
The text was updated successfully, but these errors were encountered: