make sure to record bid when bidding
fixed typo
add gradle build script