0

I was just wondering why that line of code exists in my gradle configuration

Android gradle apply plugin: 'com.android.application'
1
  • how is "com.android.application" related to iOS? iOS is Apple, Android is not... Commented Dec 16, 2014 at 20:23

2 Answers 2

6

Gradle is a general-purpose build system. It uses plugins to teach it how to build different types of software. com.android.application is a Gradle plugin that teaches Gradle how to build Android applications, just as com.android.library is a plugin that teaches Gradle how to build Android library projects. There are many plugins available for Gradle, to teach it how to build other sorts of systems or augment other plugins.

Sign up to request clarification or add additional context in comments.

Comments

0

As describe in the official website:The first line in the build configuration applies the Android plugin for Gradle to this build and makes the android block available to specify Android-specific build options.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.