rusefi/java_tools/enum_to_string/build.gradle

36 lines
755 B
Groovy

plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
}
defaultTasks 'shadowJar'
dependencies {
api project(':logging')
}
shadowJar {
/*
to exclude suffix '-all'
in resulting archive file name
*/
archiveBaseName = 'enum2string'
archiveClassifier = ''
destinationDirectory = file( '$rootDir/../..' )
manifest {
attributes(
'Main-Class': 'com.rusefi.EnumToString'
)
}
/*
to keep only classes from logging
and logging-api as in build.xml
*/
dependencies {
exclude(dependency(global_libs.jsr305))
exclude(dependency(global_libs.junit))
exclude(dependency(global_libs.annotations))
}
}