1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
/*
* A set of generic services and utilities.
*
* Should have a very small set of dependencies, and should be appropriate to embed in an external
* application (eg as part of the tooling API).
*/
apply plugin: 'java-library'
sourceCompatibility = javaVersion.java9Compatible ? 1.7 : 1.5
dependencies {
api libraries.guava
api libraries.jsr305
implementation libraries.slf4j_api
implementation libraries.commons_lang
implementation libraries.commons_io
implementation libraries.jcip
}
task buildReceiptResource(type: Copy) {
from {
tasks.getByPath(':createBuildReceipt').outputs.files
}
destinationDir = file("${generatedTestResourcesDir}/${buildReceiptPackage}")
}
sourceSets.main.output.dir generatedTestResourcesDir, builtBy: buildReceiptResource
useTestFixtures()
useClassycle()
|