Adding a jar dependency to web-inf/classes

In ant/ivy there is a way to get a dependency file to the web-inf/classes folder copied there without the version number, is there some easy way to accomplish this in gradle!

I figured it out :slight_smile:
in *.gradle:
configmanager (“cbs-inet:cbs-inet-core-api-lib:3.19-latest”) {
transitive = false

in build.gradle under war/afterEvaluate:

        configurations.configmanager.each { jarfile ->
            def classesDirName = "${sourceSets.main.output.classesDir}/" +
            def dst = new File(classesDirName)
            dst << jarfile.bytes