You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
Gwt2PluginConvention has a hard coded string for the gwt output directory, with no means of overriding the output directory.
The following modifications will also allow defining the gwt war and build directories from within the project build file (by defining gwtBuildDir and gwtWarDir), while it is still in the convention
Gwt2PluginConvention has a hard coded string for the gwt output directory, with no means of overriding the output directory.
The following modifications will also allow defining the gwt war and build directories from within the project build file (by defining gwtBuildDir and gwtWarDir), while it is still in the convention
--- src/main/groovy/com/markuskobler/gradle/plugin/gwt/Gwt2PluginConvention.groovy.orig 2010-11-11 18:46:21.000000000 +0200 +++ src/main/groovy/com/markuskobler/gradle/plugin/gwt/Gwt2PluginConvention.groovy 2011-02-11 12:28:10.847757336 +0200 @@ -32,19 +32,19 @@ List gwtStartupUrls // XXX remove from convention... - String gwtBuildDirName = "build/gwt/out" - String gwtWarDirName = "build/gwt/war" + String gwtBuildDir = "build/gwt/out" + String gwtWarDir = "build/gwt/war" Gwt2PluginConvention(project) { this.project = project } File getGwtBuildDir() { - project.file(gwtBuildDirName) + project.file(gwtBuildDir) } File getGwtWarDir() { - project.file(gwtWarDirName) + project.file(gwtWarDir) } void setGwtModules(List modules) { @@ -63,4 +63,12 @@ gwtStartupUrls = [url] } + void setGwtBuildDir(String buildDir) { + gwtBuildDir = buildDir + } + + void setGwtWarDir(String warDir) { + gwtWarDir = warDir + } + }