Gradle Resp
Gradle Resp
Hi Hello Hey
To execute the hello task in the build file, type ___ on the command line.gradle hello or gradle -q hello
task a {
}}
task b(dependsOn: a) {
}}
}}
AC
========
Which plugins are configured while integrating gradle with Jenkins?-Gradle Plugin And plugin of
repository used
=========
The wrapper plugin can be auto-applied to the root project of the current build without modifying the
build.gradle file.-True
Finalizer tasks are automatically added to the task graph when the finalized task is scheduled to run.-
True
Gradle wrapper makes the execution of the build independent of the installed Gradle version.-True
Which of the following statements are true?-Ant or Maven script can be migrated to Gradle build script
In Gradle, the java plugin searches for java production source code in the directory-/src/main/java
In Gradle , the java plugin searches for java test source code in the directory -/src/test/java
The first line added in the build script to make the Android plug-in available for a Gradle build is-apply
plugin: 'com.android.application'
In gradle to specify, which projects belong to the build, and which file is used?-settings.gradle
The war plugin enables the default JAR archive generation of the Java plugin-False
Applying the Application plugin also implicitly applies the Java plugin.-True
false
wrapper
In Gradle, the Java plugin searches for Java production source code in the directory ___________....
src/main/java
The external dependencies for the build script are defined using ___________.
All
Gradle Build Init plugin is an automatically applied plugin.
true
false
In Gradle , the java plugin searches for java test source code in the directory .......
src/test/java
In Gradle, to specify, which projects belong to the build, and which file is used? wrong
build.gradle
While building a Java project with gradle, the JAR files are created in _______ after the execution of
gradle build command.
build/libs
All
Applying the Application plugin also implicitly applies the Java plugin.
true
all
Gradle wrapper makes the execution of the build independent of the installed Gradle version.
true
In gradle the init task creates a Gradle project, which contains _______________.
The scala plugin applied in the Gradle can deal with ____________.
All
false
The first line added in the build script to make the Android plug-in available for a Gradle build is