Gradle custom jar help


(Chetan Urkudkar) #1

Hi, I am building a custom jar which has dependencies from random files in the project.
in my sourcesets section i have

sourceSets {
main {
java.srcDirs = [‘com/integration/export/jms/’, ‘com/audit/dto/’,
‘com/esb/apimanagement/request/domain/Service.java’,
‘com/sftp/dto/’]

        }

    }

The list is quites endless. The problem is it is not building Service.java .A normal directory gets built but explicit java class is a issue.