My requirement is:
I have 4 directories A, B, C and D. Each directory has the following subdirectories java/src and after compilation each directory produces a separate JAR file with the same name as the name of directory. for example A.jar, B.jar and so on.
How I can fulfill this requirement in Gradle.
I also want to generate the build folder under each directory. for example for directory A it should be A/build and for B it should be B/build and so on.
Also need to change the name of JAR i.e. same name as the name of directory
I am new to gradle. Please help me how I can achieve this.