Removed deprecated assetDir
Attempt to fix gradle version replacement code