How to reference previously declared remote dependency when building an ear file?

Gradle Forums,

In my build.gradle have the following dependency defined which is retrieved from remote repository: dependencies {

compile ‘com.oracle:ojdbc14:10.2.0.3.0’ }

Also have the following task defined to build and EAR file: task bigtimeEar(type: Ear, group: ‘Custom Ear’, description: ‘Packages bigtime ear file’) {

baseName ‘bigtime’

metaInf {

from (srcDir) {

include ‘application.xml’

}

}

//how to include reference to oracle jar defined previously? }

How can the oracle jar be included in the ear task above?

Thanks, Rick