diff --git a/java_console/autoupdate/build.gradle b/java_console/autoupdate/build.gradle index aab43339ae..01d38b7934 100644 --- a/java_console/autoupdate/build.gradle +++ b/java_console/autoupdate/build.gradle @@ -24,14 +24,6 @@ dependencies { testImplementation global_libs.mockito } -compileJava.doLast { - jar.manifest { - attributes( - 'Built-Date': new Date().toString() - ) - } -} - // yes nasty sorry evaluationDependsOn(':core_ui') evaluationDependsOn(':core_io') @@ -48,7 +40,8 @@ jar { manifest { attributes( - 'Main-Class': 'com.rusefi.autoupdate.Autoupdate' + 'Main-Class': 'com.rusefi.autoupdate.Autoupdate', + 'Built-Date': new Date().toString() ) } } \ No newline at end of file diff --git a/java_tools/configuration_definition/build.gradle b/java_tools/configuration_definition/build.gradle index 1652f518e0..e03dabb359 100644 --- a/java_tools/configuration_definition/build.gradle +++ b/java_tools/configuration_definition/build.gradle @@ -14,6 +14,7 @@ dependencies { shadowJar { dependsOn(':enum_to_string:shadowJar') + dependsOn(':config_definition_base:shadowJar') /* to exclude suffix '-all' in resulting archive file name