This plugin is a simple integration point between Gradle AppEngine plugin and Geb browser automation framework. It doesn't provide any new tasks but only sets Geb's baseUrl
configuration property based on Gradle GAE plugin's conventions using SystemPropertiesBuildAdapter
mechanism.
IMPORTANT: Using this plugin only makes sense when Gradle AppEngine plugin is applied to the project. Please make sure that this is the case before applying this plugin to your project.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-appengine-geb-plugin:0.5'
}
}
After applying the plugin you no longer need to specify baseUrl
in GebConfig.groovy
as it will be derived from your build settings.