Commit 8678ff99 authored by Christian Meyer's avatar Christian Meyer
Browse files

ZmtLaunchConfigPlugin.groovy: no longer adds launcher dependency

        already done in ZmtLaunchPlugin
parent f7d3a27d
......@@ -28,7 +28,6 @@ class ZmtLaunchConfigPlugin implements Plugin<Project> {
// need to have dependencies and stuff evaluated
afterEvaluate {
launchConfig = createLaunchConfigPath(project)
addDependencies(project, launcherProject)
}
// create launch configuration
......@@ -71,23 +70,6 @@ class ZmtLaunchConfigPlugin implements Plugin<Project> {
return simClassName
}
/**
* Adds dependencies according to the availability of the
* launcher project.
*
* @param project the project
* @param launcherProject the launcher project
*/
private static void addDependencies(Project project, Project launcherProject) {
/* If launcher project is not available a runtime dependency
* for launcher is added to this project. */
if (launcherProject == null) {
project.dependencies {
runtime 'de.zmt:zmt-launcher:latest.release'
}
}
}
/**
* Creates launch config path within project directory.
* @param project the project
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment