Install the Easylauncher Gradle Plugin
masterApply the plugin to your application module's build.gradle file.
If you encounter a Could not resolve all artifacts error (specifically Could not find com.android.tools.build:gradle:x.x.x), apply the plugin to the root project first to ensure correct dependency resolution, then apply it to your application module.
Alternatively, you can use a Gradle Version Catalog.
// Standard application module setup
// in app/build.gradle
plugins {
id "com.starter.easylauncher" version "${{version}}"
}
// Troubleshooting: Root project setup for dependency resolution
// in root project's build.gradle
buildscript {
repositories.google()
}
plugins {
id "com.starter.easylauncher" version "${{version}}" apply false
}
// Troubleshooting: Application module setup after root setup
// in app/build.gradle
plugins {
id "com.starter.easylauncher"
}
// Using Version Catalog
// in libs.versions.toml
[plugins]
starter-easylauncher = { id = "com.starter.easylauncher", version.ref = "easylauncher" }