bmuschko / gradle-cargo-plugin

Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Apache License 2.0
258 stars 63 forks source link

Adding JARs to the container's classpath as dependencies #200

Open cfalba80 opened 4 years ago

cfalba80 commented 4 years ago

Hello, I am writing to ask if it is possible to include jar dependencies inside tomcat lib directory using this plugin but not with the feature of local files: cargo { containerId = 'glassfish3x'

local {
    file {
        file = file('../config/db/mysql-connector-java-5.1.23-bin.jar')
        toDir = 'lib'
    }
}

} but including it like gradle dependencies: compile 'org.apache.activemq:activemq-broker:5.14.4'

is it possible to do it? Thanks