Clean the BuildConfig plugin setting and back to Java version 1.6

Clean the BuildConfig plugin setting and back to Java version 1.6