gradle-cargo-plugin
gradle-cargo-plugin copied to clipboard
Adding JARs to the container's classpath as dependencies
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