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')
|
|
|
|
implementation project(':config_definition')
|
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-05-30 20:07:55 -07:00
|
|
|
dependsOn(':enum_to_string:shadowJar')
|
2023-06-17 20:38:14 -07:00
|
|
|
dependsOn(':config_definition_base:shadowJar')
|
2023-06-17 13:30:02 -07:00
|
|
|
dependsOn(':config_definition:shadowJar')
|
2023-07-03 21:41:27 -07:00
|
|
|
archivesBaseName = "${rootDir}/../java_console_binary/rusefi_console"
|
2022-11-20 20:46:55 -08:00
|
|
|
archiveClassifier = ''
|
|
|
|
|
2022-10-15 17:16:39 -07:00
|
|
|
manifest {
|
|
|
|
attributes(
|
|
|
|
'Main-Class': 'com.rusefi.Launcher'
|
|
|
|
)
|
|
|
|
}
|
2023-07-05 00:03:37 -07:00
|
|
|
}
|