Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configurations {
- toCopy
- implementation {
- extendsFrom toCopy
- }
- }
- dependencies {
- toCopy 'mysql:mysql-connector-java'
- }
- task copyToLib(type: Copy) {
- from configurations.toCopy
- into 'lib'
- rename '(.*)', 'mysql-connector-java.jar'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement