diff --git a/android/dependencies.gradle b/android/dependencies.gradle index da46e468a6..669e93a86c 100644 --- a/android/dependencies.gradle +++ b/android/dependencies.gradle @@ -1,7 +1,4 @@ ext { libs = [ - javaxJson : "javax.json:javax.json-api:1.1.4", - snakeyaml : "org.yaml:snakeyaml:1.26", - commons_logging: "commons-logging:commons-logging:1.2", ] } \ No newline at end of file diff --git a/java_console/autoupdate/build.gradle b/java_console/autoupdate/build.gradle index baa948e11f..b9a73a47d6 100644 --- a/java_console/autoupdate/build.gradle +++ b/java_console/autoupdate/build.gradle @@ -1,5 +1,6 @@ plugins { id 'java-library' + id 'com.github.johnrengelman.shadow' version '6.1.0' } apply from: '../../java_tools/dependencies.gradle' @@ -24,4 +25,12 @@ dependencies { // junit 4.13 does not mix well with httpclient :( testImplementation group: 'junit', name: 'junit', version: '4.8.2' testImplementation global_libs.mockito +} + +shadowJar { + manifest { + attributes( + 'Main-Class': 'com.rusefi.autoupdate.Autoupdate' + ) + } } \ No newline at end of file diff --git a/java_tools/dependencies.gradle b/java_tools/dependencies.gradle index 7b162012ca..da07b08247 100644 --- a/java_tools/dependencies.gradle +++ b/java_tools/dependencies.gradle @@ -8,6 +8,7 @@ ext { mockito : "org.mockito:mockito-all:1.10.19", javaxJson : "javax.json:javax.json-api:1.1.4", snakeyaml : "org.yaml:snakeyaml:1.26", + commons_logging: "commons-logging:commons-logging:1.2", ] ts_plugin_libs = [