boolean compileStatic = Boolean.parseBoolean(launchConfig.getOther(COMPILE_STATIC_PROPERTY_NAME, COMPILE_STATIC_PROPERTY_DEFAULT));
Function<Module, Injector> moduleTransformer = Guice.newInjectorFactory(launchConfig);
GuiceBackedHandlerFactory handlerFactory = new GroovyKitAppFactory(launchConfig);
Function<Closure<?>, Handler> closureTransformer = new RatpackDslClosureToHandlerTransformer(launchConfig, handlerFactory, moduleTransformer);
return new ScriptBackedApp(script, compileStatic, launchConfig.isDevelopment(), closureTransformer);
}