Menu

Plugins
πŸ“°
0

Plugins

DEV CommunityΒ·Aalaa FahiemΒ·about 1 month ago
#oncxtZ7N
#android#kotlin#beginners#gradle#fullscreen#article
Reading 0:00
15s threshold

Every Android project I've ever opened starts the same way. Right at the top of build.gradle , before any dependencies, before any SDK versions, before anything useful β€” there's this: plugins { id ( "com.android.application" ) kotlin ( "android" ) } Enter fullscreen mode Exit fullscreen mode I copy-pasted those two lines into every project I created for months. I never touched them. I didn't know what they did. I was honestly scared that if I looked at them too hard something would break. And then one day I created a new project and only saw one of them: plugins { id ( "com.android.application" ) } Enter fullscreen mode Exit fullscreen mode The kotlin("android") line was gone. Just... missing. I panicked. Googled it. Added it back. The build failed. Removed it. The build worked again. That was the moment I realized I had absolutely no idea what a Gradle plugin even was. If you're in the same spot β€” let's fix that right now. So What Is a Gradle Plugin, Actually?…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More