‘project.projectDir’ isn’t a String. You need to omit the quotes. Or maybe your code got scrambled. Please use HTML ‘<code>’ tags for all code and output.
Interesting. I didn’t know you could embed sub-projects, using the ‘includeFlat’ notation, using colon characters. I knew it works with ‘include’ but I thought ‘includeFlat’ was different. I might need to try that and see if it works. This makes me wonder: what is really the difference between ‘include’ and ‘includeFlat’?
Can you describe the directory layout in more detail? Why is ‘build.gradle’ located in ‘entsec_ldap/java/src/oracle/security/crypto/cert’, and not, say, in ‘entsec_ldap’? Also, isn’t ‘entsec_ldap/java/src’ the source root, with ‘oracle/security/crypto/cert’ being (part of) the package name of the code to be compiled?