let's separate Android from not Android

This commit is contained in:
rusefillc 2022-10-15 19:55:07 -04:00
parent 402f591ec8
commit a682cde7e7
3 changed files with 10 additions and 3 deletions

View File

@ -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",
]
}

View File

@ -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'
)
}
}

View File

@ -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 = [