Class IDEAIdeIntegration
java.lang.Object
net.janrupf.gradle.hytale.dev.ide.IDEAIdeIntegration
- All Implemented Interfaces:
IdeIntegration
-
Nested Class Summary
Nested classes/interfaces inherited from interface IdeIntegration
IdeIntegration.NoOp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRunConfiguration(org.gradle.api.tasks.TaskProvider<PrepareHytaleServerRunTask> prepareTask, HytaleRunModel model, HytaleDevAgentConfiguration agentConfiguration) Adds a run configuration for the given Hytale run model.voidCalled after all details have been configured and the plugin is sure that no changes will be made anymore.voidrunTaskOnSync(org.gradle.api.tasks.TaskProvider<? extends org.gradle.api.Task> task) Runs the given task whenever the IDE syncs the project.
-
Constructor Details
-
IDEAIdeIntegration
public IDEAIdeIntegration(org.gradle.api.Project project)
-
-
Method Details
-
runTaskOnSync
public void runTaskOnSync(org.gradle.api.tasks.TaskProvider<? extends org.gradle.api.Task> task) Description copied from interface:IdeIntegrationRuns the given task whenever the IDE syncs the project.- Specified by:
runTaskOnSyncin interfaceIdeIntegration- Parameters:
task- the task to run on sync
-
addRunConfiguration
public void addRunConfiguration(org.gradle.api.tasks.TaskProvider<PrepareHytaleServerRunTask> prepareTask, HytaleRunModel model, HytaleDevAgentConfiguration agentConfiguration) Description copied from interface:IdeIntegrationAdds a run configuration for the given Hytale run model.- Specified by:
addRunConfigurationin interfaceIdeIntegration- Parameters:
prepareTask- the prepare task for the run configurationmodel- the Hytale run modelagentConfiguration- the development java agent configuration
-
finalizeConfiguration
public void finalizeConfiguration()Description copied from interface:IdeIntegrationCalled after all details have been configured and the plugin is sure that no changes will be made anymore.- Specified by:
finalizeConfigurationin interfaceIdeIntegration
-