File: base-services.gradle

package info (click to toggle)
gradle 4.4.1-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 85,440 kB
  • sloc: java: 319,966; xml: 14,356; javascript: 4,838; cpp: 4,200; ansic: 1,025; sh: 300; makefile: 65; asm: 17; jsp: 17; objc: 10
file content (31 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (3)
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()