fix #1533: call gradle clean after th gradle test build

fix #1533: call gradle clean after th gradle test build