Gradle Interview Questions and Answers

Gradle Interview Questions and Answers

Gradle is an open source and general purpose build management system designed specifically for building java based projects. It is based on Groovy and Kotlin Programming Languages. Gradle supports the automatic download and configuration of dependencies or other libraries. It supports Maven and Ivy repositories for retrieving these dependencies. This allows reusing the artifacts of existing build systems. It supports multi-project and multi-artifact builds.

What is Gradle?

What are the Gradle Core concepts?

What are the features of Gradle?

Can you explain Gradle dependency management?

Can you explain Gradle Java Plugin?

Can you explain Dependency Configuration?

What are the pre-defined dependency configurations?

What is Compile dependency configuration?

What is runtime dependency configuration?

What is testCompile in dependency configuration?

What is testRuntime in dependency configuration?

Can you explain External Dependencies?

What is Publishing Artifacts?

What is repository?

Why Gradle is more preferred compared to other build framework?

Which language needs to be used for creating the Plugin?

Can you define Gradle Motto?

What is the difference between Maven Build.xml and Build.gradle Script?

What is the difference between the and settings.gradle?

How to create an IntelliJ Idea Gradle Project?

Can you explain Why use Gradle instead of Ant and Maven?

How is Daemon in Gradle 3.0?

Can you explain Gradle Deployment?

What are the repository types in gradle?