[build] Update to latest Gradle plugin
[library] Trigger preload once the adapter is set