rusefi/java_console/autoupdate/build.gradle

36 lines
888 B
Groovy
Raw Normal View History

2020-08-14 17:46:36 -07:00
plugins {
2022-03-15 11:24:54 -07:00
id 'java-library'
id 'com.github.johnrengelman.shadow' version '6.1.0'
2020-08-14 17:46:36 -07:00
}
apply from: '../../java_tools/dependencies.gradle'
defaultTasks 'shadowJar'
2020-08-14 17:46:36 -07:00
configurations {
all*.exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
dependencies {
api global_libs.javaxJson
api project(':logging-api')
api project(':core_ui')
api project(':core_io')
2020-08-14 17:46:36 -07:00
api group: 'net.jcip', name: 'jcip-annotations', version: '1.0'
api global_libs.json
// not 'api' since Android would use own implementation
implementation ts_plugin_libs.httpclient
2020-08-14 17:46:36 -07:00
// 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'
)
}
2020-08-14 17:46:36 -07:00
}