Fix Gradle, add Redstone Torch hooks.