|
Hi there,
Say you have the following asciidoc snippet
[source,groovy]
----
@Grapes([
@Grab("{gebgroup}:geb-core:{gebversion}"),
@Grab("org.seleniumhq.selenium:selenium-firefox-driver:{seleniumversion}"),
@Grab("org.seleniumhq.selenium:selenium-support:{seleniumversion}")
])
import geb.Browser
----
All 4 attributes have been defined externally via the asciidoctor-gradle plugin. All of these attributes have their values applied if found inside a regular text block, however that doesn't happen inside a source block :-(
Cheers,
Andres
|