Yes, that works. Thanks for the hint!
In the meantime a few things changed. For people who are also slightly
confused how to upgrade to the current version, here are the important
parts:
*Android app gradle:*
ADD: apply plugin: 'com.google.cloud.tools.endpoints-framework-client'
CHANGE:
compile project(path: ':backend', configuration: 'android-endpoints')
TO
endpointsServer project(path: ":backend", configuration: "endpoints")
*Project gradle:*
ADD:
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.2'
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0'
*Backend gradle:*
REMOVE:
appengine buildscript dependencies
apply plugin: 'appengine'
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.53'
compile 'com.google.appengine:appengine-endpoints:1.9.53'
ADD:
apply plugin: 'com.google.cloud.tools.appengine'
apply plugin: 'com.google.cloud.tools.endpoints-framework-server'
providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
compile 'com.google.endpoints:endpoints-framework:2.0.7'
compile 'jstl:jstl:1.2'
compile 'javax.inject:javax.inject:1'
appengine { // App Engine tasks configuration
deploy { // deploy configuration
version = findProperty("appengine.deploy.version")
def promoteProp = findProperty("appengine.deploy.promote")
if (promoteProp != null) {
promote = new Boolean(promoteProp)
}
}
}
On Saturday, July 1, 2017 at 5:30:57 AM UTC+8, Frank Natividad wrote:
>
> Jonas if you're still having this issue. I was able to fix this by
> modifying the *backend/backend.iml *
>
> *Change:*
> <option name="WAR_DIR" value="$MODULE_DIR$/build/exploded-app" />
>
> To:
>
> <option name="WAR_DIR" value="$MODULE_DIR$/build/exploded-backend" />
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/45bbb938-cda7-435c-aeb5-2de37144be48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.