Quick code to support default Gradle build configuration.

It resolves base directories for libraries packaged as aar when tests a launched from Gradle.