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 {
|
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')
|
2024-04-01 17:15:14 -07:00
|
|
|
|
2022-10-15 11:36:41 -07:00
|
|
|
implementation global_libs.antlr
|
|
|
|
implementation 'com.miglayout:miglayout-swing:4.1'
|
2024-04-01 17:27:39 -07:00
|
|
|
implementation 'org.bidib.jbidib.eu.hansolo:SteelSeries:3.9.31.2'
|
|
|
|
implementation files('../lib/trident-6.2.jar')
|
2024-04-01 17:22:18 -07:00
|
|
|
/*
|
|
|
|
implementation files('../lib/dfu/dfu_java.jar')
|
2022-10-15 15:56:28 -07:00
|
|
|
implementation files('../lib/dfu/IntelHexParser.jar')
|
2024-04-01 17:22:18 -07:00
|
|
|
*/
|
2022-10-15 15:56:28 -07:00
|
|
|
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(
|
2024-11-01 09:18:30 -07:00
|
|
|
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
|
2022-10-15 17:16:39 -07:00
|
|
|
'Main-Class': 'com.rusefi.Launcher'
|
|
|
|
)
|
|
|
|
}
|
2023-07-05 00:03:37 -07:00
|
|
|
}
|