GateIn 3.6 support to declare AMD JS, the previous JS declaration is deprecated but it's still supported. They will be loaded and merged in to SHARED/merged.js file

That means even your portlet still use the 3.2 version gatein-resources.xml. It should works, if that portlet doesn't use GateIn's JS files (js modules in the eXoResources.war, those files are re-written as GMD modules)