Closed xylo04 closed 9 years ago
I should mention too, this used to work with my Restlet dependencies defined only as compile
dependencies. I've tried duplicating them as functionalTestRuntime
deps, but Gradle told me Cannot change configuration ':functionalTestRuntime' after it has been resolved.
Duplicating the Restlet targets as testRuntime
deps was fine with Gradle, but it didn't solve the issue.
Yeah I think 1.9.17 might have a few issues with functionalTest that were fixed since it was released. I would try building off head here and maybe checking to see if that still works.
Clone this repo and do a "gradlew install snapshot" to install plugin version 1.9.17-SNAPSHOT into your local maven repo. Then just add mavenLocal() as a buildscript depednency to your project and change the version of your plugin to 1.9.17-SNAPSHOT.
your build file might look like :
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "com.google.appengine:gradle-appengine-plugin:1.9.17-SNAPSHOT"
}
}
Yep, using the plugin at head WAI. I'll use that for now and look forward to the next release. Thanks for the pointers getting that set up!
Okay I'll try to take a look again. Can you include a build file that demonstrates it? On Jan 26, 2015 7:50 PM, "Chris Keller" notifications@github.com wrote:
Yep, using the plugin at head WAI. I'll use that for now and look forward to the next release. Thanks for the pointers getting that set up!
— Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/166#issuecomment-71570257 .
Thanks, I think I didn't read your earlier message correctly, looks like this is fixed.
While trying to upgrade the plugin from 1.9.7 to 1.9.17, I'm getting
ClassNotFoundExceptions
in theappengineFunctionalTest
task. Upon closer inspection, I see the pertinent library JARs (for Restlet, in my case) being included in the classpath of thecompileFunctionalTestJava
task, but not the execution task. Here's a summary of my Gradle build log with debug and stacktrace enabled:I'm actually attempting to learn more about Gradle and Groovy, so if you can provide a little guidance to using a local copy of the plugin in my project dependencies, I may be able to send you a pull request.