Add resource attribute

Fix https://github.com/asciidoctor/asciidoctor-ant/issues/15