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