Java Code Examples for org.gradle.api.invocation.Gradle#getStartParameter()
The following examples show how to use
org.gradle.api.invocation.Gradle#getStartParameter() .
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: BuildLogger.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
public void buildStarted(Gradle gradle) { StartParameter startParameter = gradle.getStartParameter(); logger.info("Starting Build"); logger.debug("Gradle user home: " + startParameter.getGradleUserHomeDir()); logger.debug("Current dir: " + startParameter.getCurrentDir()); logger.debug("Settings file: " + startParameter.getSettingsFile()); logger.debug("Build file: " + startParameter.getBuildFile()); }
Example 2
Source File: BuildLogger.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
public void buildStarted(Gradle gradle) { StartParameter startParameter = gradle.getStartParameter(); logger.info("Starting Build"); logger.debug("Gradle user home: " + startParameter.getGradleUserHomeDir()); logger.debug("Current dir: " + startParameter.getCurrentDir()); logger.debug("Settings file: " + startParameter.getSettingsFile()); logger.debug("Build file: " + startParameter.getBuildFile()); }
Example 3
Source File: BuildLogger.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
public void buildStarted(Gradle gradle) { StartParameter startParameter = gradle.getStartParameter(); logger.info("Starting Build"); logger.debug("Gradle user home: " + startParameter.getGradleUserHomeDir()); logger.debug("Current dir: " + startParameter.getCurrentDir()); logger.debug("Settings file: " + startParameter.getSettingsFile()); logger.debug("Build file: " + startParameter.getBuildFile()); }
Example 4
Source File: BuildLogger.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
public void buildStarted(Gradle gradle) { StartParameter startParameter = gradle.getStartParameter(); logger.info("Starting Build"); logger.debug("Gradle user home: " + startParameter.getGradleUserHomeDir()); logger.debug("Current dir: " + startParameter.getCurrentDir()); logger.debug("Settings file: " + startParameter.getSettingsFile()); logger.debug("Build file: " + startParameter.getBuildFile()); }
Example 5
Source File: AbstractMetricsPlugin.java From gradle-metrics-plugin with Apache License 2.0 | 5 votes |
protected BuildMetrics initializeBuildMetrics(Gradle gradle) { BuildMetrics buildMetrics = new BuildMetrics(gradle.getStartParameter()); BuildStartedTime buildStartedTime = BuildStartedTime.startingAt(buildInvocationDetails.getBuildStartedTime()); buildMetrics.setBuildStarted(buildStartedTime.getStartTime()); buildMetrics.setProfilingStarted(buildStartedTime.getStartTime()); return buildMetrics; }
Example 6
Source File: ProfileEventAdapter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void buildStarted(Gradle gradle) { long now = timeProvider.getCurrentTime(); buildProfile = new BuildProfile(gradle.getStartParameter()); buildProfile.setBuildStarted(now); buildProfile.setProfilingStarted(buildMetaData.getBuildTimeClock().getStartTime()); }
Example 7
Source File: ProfileEventAdapter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void buildStarted(Gradle gradle) { long now = timeProvider.getCurrentTime(); buildProfile = new BuildProfile(gradle.getStartParameter()); buildProfile.setBuildStarted(now); buildProfile.setProfilingStarted(buildMetaData.getBuildTimeClock().getStartTime()); }
Example 8
Source File: ProfileEventAdapter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void buildStarted(Gradle gradle) { long now = timeProvider.getCurrentTime(); buildProfile = new BuildProfile(gradle.getStartParameter()); buildProfile.setBuildStarted(now); buildProfile.setProfilingStarted(buildMetaData.getBuildTimeClock().getStartTime()); }
Example 9
Source File: ProfileEventAdapter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void buildStarted(Gradle gradle) { long now = timeProvider.getCurrentTime(); buildProfile = new BuildProfile(gradle.getStartParameter()); buildProfile.setBuildStarted(now); buildProfile.setProfilingStarted(buildMetaData.getBuildTimeClock().getStartTime()); }