HIRS/tools/tcg_rim_tool/build.gradle

29 lines
461 B
Groovy
Raw Normal View History

apply plugin: 'java'
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
compile libs.minimal_json
testCompile libs.testng
}
jar {
manifest {
attributes("Main-Class": "hirs.swid.Main",
"Class-Path": configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
)
}
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {}
}
uploadArchives {
repositories {
flatDir {
dirs "${buildDir}"
}
}
}