[various] Add targetCompatibility to build.gradle
#3825
Merged
targetCompatibility to build.gradle
#3825