update Gradle project
fix minSdkVersion (set to 7)
add test log messages
reformat code