Пример #1
0
 private void configureBuildDependents(Project project) {
   DefaultTask buildTask = project.getTasks().add(BUILD_DEPENDENTS_TASK_NAME, DefaultTask.class);
   buildTask.setDescription(
       "Assembles and tests this project and all projects that depend on it.");
   buildTask.setGroup(BasePlugin.BUILD_GROUP);
   buildTask.dependsOn(BUILD_TASK_NAME);
 }
Пример #2
0
 private void configureBuild(Project project) {
   DefaultTask buildTask = project.getTasks().add(BUILD_TASK_NAME, DefaultTask.class);
   buildTask.setDescription("Assembles and tests this project.");
   buildTask.setGroup(BasePlugin.BUILD_GROUP);
   buildTask.dependsOn(BasePlugin.ASSEMBLE_TASK_NAME);
   buildTask.dependsOn(CHECK_TASK_NAME);
 }
Пример #3
0
 private void configureBuildNeeded(Project project) {
   DefaultTask buildTask = project.getTasks().add(BUILD_NEEDED_TASK_NAME, DefaultTask.class);
   buildTask.setDescription("Assembles and tests this project and all projects it depends on.");
   buildTask.setGroup(BasePlugin.BUILD_GROUP);
   buildTask.dependsOn(BUILD_TASK_NAME);
 }