gradle-cargo-plugin icon indicating copy to clipboard operation
gradle-cargo-plugin copied to clipboard

Adding JARs to the container's classpath as dependencies

Open cfalba80 opened this issue 4 years ago • 0 comments

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

cfalba80 avatar Feb 26 '20 20:02 cfalba80