2022-10-15 11:36:41 -07:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-05-30 19:10:01 -07:00
|
|
|
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
|
2022-10-15 11:36:41 -07:00
|
|
|
}
|
|
|
|
|
2022-11-20 21:56:07 -08:00
|
|
|
configurations {
|
2023-07-05 00:03:37 -07:00
|
|
|
// icu4j is huge: https://en.wikipedia.org/wiki/International_Components_for_Unicode
|
2022-11-20 21:56:07 -08:00
|
|
|
all*.exclude group: 'com.ibm.icu', module: 'icu4j'
|
|
|
|
}
|
|
|
|
|
2022-10-15 11:36:41 -07:00
|
|
|
dependencies {
|
|
|
|
implementation project(':shared_ui')
|
2023-07-10 21:56:59 -07:00
|
|
|
implementation project(':trigger-ui')
|
2022-10-15 15:56:28 -07:00
|
|
|
implementation project(':autotest')
|
|
|
|
implementation project(':luaformatter')
|
2023-11-25 19:38:25 -08:00
|
|
|
implementation project(':config_definition_base')
|
2023-06-17 18:05:28 -07:00
|
|
|
// todo: should this be enough? implementation project(':trigger-image')
|
2022-10-15 11:36:41 -07:00
|
|
|
implementation global_libs.antlr
|
|
|
|
implementation 'com.miglayout:miglayout-swing:4.1'
|
2022-10-15 15:56:28 -07:00
|
|
|
implementation files('../lib/dfu/dfu_java.jar')
|
|
|
|
implementation files('../lib/SteelSeries-3.9.30.jar')
|
2022-11-06 14:33:04 -08:00
|
|
|
implementation files('../lib/trident-6.2.jar')
|
2022-10-15 15:56:28 -07:00
|
|
|
implementation files('../lib/dfu/IntelHexParser.jar')
|
|
|
|
|
|
|
|
testImplementation global_libs.mockito
|
|
|
|
testImplementation testFixtures(project(':ecu_io'))
|
2022-10-15 11:36:41 -07:00
|
|
|
}
|
|
|
|
|
2022-10-15 17:16:39 -07:00
|
|
|
shadowJar {
|
2023-07-23 20:32:13 -07:00
|
|
|
base {
|
2023-12-15 09:59:05 -08:00
|
|
|
archivesName = "${rootDir}/../java_console_binary/rusefi_console"
|
2023-07-23 20:32:13 -07:00
|
|
|
archiveClassifier = ''
|
|
|
|
}
|
2022-11-20 20:46:55 -08:00
|
|
|
|
2022-10-15 17:16:39 -07:00
|
|
|
manifest {
|
|
|
|
attributes(
|
|
|
|
'Main-Class': 'com.rusefi.Launcher'
|
|
|
|
)
|
|
|
|
}
|
2023-07-05 00:03:37 -07:00
|
|
|
}
|