Skip to content
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

Open
jiakuan opened this issue Jul 1, 2017 · 6 comments
Open

Warning messages when using Gradle 4.0 #290

jiakuan opened this issue Jul 1, 2017 · 6 comments

Comments

@jiakuan
Copy link

jiakuan commented Jul 1, 2017

After I upgraded to Gradle 4.0, I saw the following warning messages which might be something need 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'
@loosebazooka
Copy link
Contributor

loosebazooka commented Jul 1, 2017 via email

@loosebazooka
Copy link
Contributor

loosebazooka commented Jul 1, 2017 via email

@loosebazooka
Copy link
Contributor

loosebazooka commented Jul 1, 2017 via email

@loosebazooka
Copy link
Contributor

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.

@jkrez
Copy link

jkrez commented Feb 14, 2018

One of the issues is using setTestClassesDir -> which is deprecated:
https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/blob/master/src/main/groovy/com/google/appengine/AppEnginePlugin.groovy#L666

Instead the recommendation is to use setTestClassesDirs with a file collection

@patflynn
Copy link
Contributor

patflynn commented Feb 14, 2018

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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants