Gradle: move links creation into install section