2022-10-15 12:22:38 -07:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
2023-05-30 19:10:01 -07:00
|
|
|
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
2022-10-15 12:22:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: '../../java_tools/dependencies.gradle'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api project(':ecu_io')
|
2024-02-14 11:43:20 -08:00
|
|
|
implementation global_libs.junit4
|
2022-10-15 12:22:38 -07:00
|
|
|
}
|
2023-10-16 11:51:50 -07:00
|
|
|
|
|
|
|
task simulatorFunctionalTestLauncherWithSimulator(type: Exec) {
|
|
|
|
dependsOn build
|
|
|
|
group = "Execution"
|
|
|
|
description = "Run the main class with ExecTask"
|
|
|
|
workingDir = rootProject.projectDir
|
2024-09-11 08:20:39 -07:00
|
|
|
commandLine "java", "-classpath", sourceSets.main.runtimeClasspath.getAsPath(), "com.rusefi.SimulatorFunctionalTestLauncher", "../firmware/tunerstudio/generated/rusefi_f407-discovery.ini", "start"
|
2023-10-16 12:09:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
task simulatorFunctionalTestLauncherAssumungSimulatorWasStartedExternally(type: Exec) {
|
|
|
|
dependsOn build
|
|
|
|
group = "Execution"
|
|
|
|
description = "Run the main class with ExecTask"
|
|
|
|
workingDir = rootProject.projectDir
|
2024-09-11 08:20:39 -07:00
|
|
|
commandLine "java", "-classpath", sourceSets.main.runtimeClasspath.getAsPath(), "com.rusefi.SimulatorFunctionalTestLauncher", "../firmware/tunerstudio/generated/rusefi_f407-discovery.ini"
|
2024-02-14 11:43:20 -08:00
|
|
|
}
|