Open adiantek opened 7 years ago
java 8 is not available in App Engine Standard at the moment. There is an alpha which you could try signing up to.
Otherwise you'll have to wait for the public Beta.
In gradle you should be able to set the target version of your module to java7 so it creates java7 output.
see sourceCompatability
and targetCompatability
in https://docs.gradle.org/current/userguide/java_plugin.html
@loosebazooka I wrote: "without downgrade to Java 7". Thanks @patflynn, I will fill it tomorrow.
Oh whoops, sometimes people have the same problem because they want to build with java8.
Is there any way to fix it without downgrade to Java 7?
And from maven: [INFO] GCLOUD: Reading application configuration data... [INFO] GCLOUD: [INFO] GCLOUD: [INFO] GCLOUD: Beginning interaction for module default... [INFO] GCLOUD: Unable to stage app: Class file is Java 8 but max supported is Java 7: myapp/DemoServlet.class in /home/xxx/src/xxx/target/appengine-try-java-1.0/WEB-INF/lib/appengine-try-java-1.0.jar