GoogleCloudPlatform / app-gradle-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-gradle-plugin
Apache License 2.0
153 stars 40 forks source link

v0.2.0 + remove all traces of Gradle Software Model #62

Closed loosebazooka closed 8 years ago

loosebazooka commented 8 years ago

It appears that the Gradle Software Model for java projects is not moving forward. Change code back to classic plugin format - using extensions and project callbacks.

This code change affects how to configure the plugin now, the "appengine" configuration block is now under project, not model.

OLD : model { appengine { } }

NEW : appengine { }

loosebazooka commented 8 years ago

@patflynn @meltsufin plugin rewrite.

meltsufin commented 8 years ago

install comes up with this warning:

warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
loosebazooka commented 8 years ago

Yeah cause you're probably building with java8. You can build with java7 or bypass that warning by specifying the bootstrap class in your build.gradle

compileJavaTask.options.bootClasspath = (new File(java7Home, "/jre/lib/rt.jar")).canonicalPath
meltsufin commented 8 years ago

LGTM