What is Sourcesets in gradle?
Keeping this in consideration, what is sourceCompatibility in gradle?
According to Gradle documentation: sourceCompatibility is "Java version compatibility to use when compiling Java source." targetCompatibility is "Java version to generate classes for."
Just so, what is testCompile in gradle?
In Gradle dependencies are grouped into a named set of dependencies. The testCompile configuration contains the dependencies which are required to compile the tests of our project. This configuration contains the compiled classes of our project and the dependencies added to the compile configuration.
There are two types of plugins in Gradle, script plugins and binary plugins. Script plugins is an additional build script that gives a declarative approach to manipulating the build. This is typically used within a build.