Open czyzby opened 8 years ago
I've already pushed a minimal dragome web app example. Only required web libraries are included (using a custom DragomeConfigurator), to be able to build an app for dom handling. Also it includes the usage of dragome-maven-plugin for creating offline apps (js/html only apps).
I'll translate the Maven-specific parts to Gradle and try compiling in my spare time.
Gradle support is working. I've moved standalone js generator to web module and I'm calling it from build.gradle:
task generateStandalone(type:JavaExec) {
main = "com.dragome.web.helpers.serverside.StandaloneDragomeAppGenerator"
classpath = sourceSets.main.runtimeClasspath
args = [
"./dist",
"./webapp",
"true",
"true"
].toList()
}
One should be able to compile and run this extension to test current functionalities. Workflow should be simple -
gradle install
to deploy the library into local Maven repository and usemvn jetty:run
or a Gradle task (#3) to run the example project.