28 lines
1.0 KiB
Groovy
28 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
|
}
|
|
|
|
apply from: '../../java_tools/dependencies.gradle'
|
|
|
|
dependencies {
|
|
api project(':ecu_io')
|
|
implementation global_libs.junit4
|
|
}
|
|
|
|
task simulatorFunctionalTestLauncherWithSimulator(type: Exec) {
|
|
dependsOn build
|
|
group = "Execution"
|
|
description = "Run the main class with ExecTask"
|
|
workingDir = rootProject.projectDir
|
|
commandLine "java", "-classpath", sourceSets.main.runtimeClasspath.getAsPath(), "com.rusefi.SimulatorFunctionalTestLauncher", "../firmware/tunerstudio/generated/rusefi_f407-discovery.ini", "start"
|
|
}
|
|
|
|
task simulatorFunctionalTestLauncherAssumungSimulatorWasStartedExternally(type: Exec) {
|
|
dependsOn build
|
|
group = "Execution"
|
|
description = "Run the main class with ExecTask"
|
|
workingDir = rootProject.projectDir
|
|
commandLine "java", "-classpath", sourceSets.main.runtimeClasspath.getAsPath(), "com.rusefi.SimulatorFunctionalTestLauncher", "../firmware/tunerstudio/generated/rusefi_f407-discovery.ini"
|
|
}
|