parent
6dcb666e8d
commit
ce3dc70c89
|
@ -1,6 +1,4 @@
|
|||
build_hw
|
||||
autoupdate_build
|
||||
rusefi_autoupdate.jar
|
||||
logs/
|
||||
rusefi_console_properties.xml
|
||||
generated*.cpp
|
||||
|
@ -8,7 +6,6 @@ currenttune.msq
|
|||
output.msq
|
||||
rusefi.ini
|
||||
openocd
|
||||
DfuSe
|
||||
rusefi_*.*
|
||||
triggers
|
||||
unit_test*.xml
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
}
|
||||
|
||||
apply from: '../../java_tools/dependencies.gradle'
|
||||
|
||||
defaultTasks 'shadowJar'
|
||||
|
||||
configurations {
|
||||
all*.exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
||||
}
|
||||
|
@ -27,7 +24,18 @@ dependencies {
|
|||
testImplementation global_libs.mockito
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
// yes nasty sorry
|
||||
evaluationDependsOn(':core_ui')
|
||||
evaluationDependsOn(':core_io')
|
||||
|
||||
jar {
|
||||
archivesBaseName = 'rusefi_autoupdate'
|
||||
destinationDir = file("$rootDir/../java_console_binary")
|
||||
|
||||
from project.sourceSets.main.allSource
|
||||
from project(':core_ui').sourceSets.main.output
|
||||
from project(":core_io").sourceSets.main.output
|
||||
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'com.rusefi.autoupdate.Autoupdate'
|
||||
|
|
|
@ -52,7 +52,7 @@ else
|
|||
cp $RUSEFI_CONSOLE_SETTINGS $CONSOLE_FOLDER
|
||||
fi
|
||||
|
||||
cp java_console/rusefi_autoupdate.jar $CONSOLE_FOLDER
|
||||
cp java_console_binary/rusefi_autoupdate.jar $CONSOLE_FOLDER
|
||||
cp java_console_binary/rusefi_console.jar $CONSOLE_FOLDER
|
||||
cp java_tools/ts_plugin_launcher/build/jar/rusefi_ts_plugin_launcher.jar $FOLDER
|
||||
cp simulator/build/rusefi_simulator.exe $CONSOLE_FOLDER
|
||||
|
|
Loading…
Reference in New Issue