Java Code Examples for org.gradle.api.project#getGradle()
The following examples show how to use
org.gradle.api.project#getGradle() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MetricsPlugin.java From firebase-android-sdk with Apache License 2.0 | 5 votes |
private static Metrics initializeMetrics(Project project) { if (!isCollectionEnabled()) { project.getLogger().lifecycle("Metrics collection is disabled. Logging to stdout..."); return Metrics.toLog(project.getLogger(), LogLevel.LIFECYCLE); } project.getLogger().lifecycle("Metrics collection is enabled."); return new StackdriverMetrics(project.getGradle(), project.getLogger()); }
Example 2
Source File: BuildProgressFilter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void beforeEvaluate(Project project) { if (project.getGradle() == gradle) { logger.beforeEvaluate(project.getPath()); } }
Example 3
Source File: BuildProgressFilter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void afterEvaluate(Project project, ProjectState state) { if (project.getGradle() == gradle) { logger.afterEvaluate(project.getPath()); } }
Example 4
Source File: BuildProgressFilter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void beforeEvaluate(Project project) { if (project.getGradle() == gradle) { logger.beforeEvaluate(project.getPath()); } }
Example 5
Source File: BuildProgressFilter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void afterEvaluate(Project project, ProjectState state) { if (project.getGradle() == gradle) { logger.afterEvaluate(project.getPath()); } }
Example 6
Source File: BuildProgressFilter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void beforeEvaluate(Project project) { if (project.getGradle() == gradle) { logger.beforeEvaluate(project.getPath()); } }
Example 7
Source File: BuildProgressFilter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void afterEvaluate(Project project, ProjectState state) { if (project.getGradle() == gradle) { logger.afterEvaluate(project.getPath()); } }
Example 8
Source File: BuildProgressFilter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void beforeEvaluate(Project project) { if (project.getGradle() == gradle) { logger.beforeEvaluate(project.getPath()); } }
Example 9
Source File: BuildProgressFilter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void afterEvaluate(Project project, ProjectState state) { if (project.getGradle() == gradle) { logger.afterEvaluate(project.getPath()); } }