Programming Tips - Android Studio: symbolic link to shared code folder

Date: 2020apr14 Language: gradle Q. Android Studio: symbolic link to shared code folder A. Add to your app gradle.build
android { ... sourceSets { main.java.srcDirs += '../../MyExtraCode/src'; } }
This will only pull in the .java files. If they have any dependencies they need to be added to your client app's gradle files.