forked from blackducksoftware/blackduck-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (30 loc) · 1.71 KB
/
build.gradle
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
32
33
34
35
36
37
38
39
40
41
buildscript {
apply from: 'https://raw.githubusercontent.com/blackducksoftware/integration-resources/master/gradle_common/buildscript-repositories.gradle', to: buildscript
apply from: 'https://raw.githubusercontent.com/blackducksoftware/integration-resources/master/gradle_common/buildscript-dependencies.gradle', to: buildscript
}
project.ext.moduleName = 'com.synopsys.integration.blackduck-common'
project.ext.javaUseAutoModuleName = 'true'
project.ext.junitShowStandardStreams = 'true'
version = '52.0.3-SNAPSHOT'
description = 'A library for using various capabilities of Black Duck, notably the REST API and signature scanning.'
apply plugin: 'com.synopsys.integration.library'
final def versionFile = new File("${projectDir}/src/main/resources/com/synopsys/integration/blackduck/version.txt")
versionFile.mkdirs()
versionFile.delete()
versionFile << version
dependencies {
api 'com.synopsys.integration:blackduck-common-api:2020.8.0.14'
api 'com.synopsys.integration:integration-reporting:2.0.2'
api 'com.synopsys.integration:integration-bdio:22.0.2'
api 'com.synopsys.integration:phone-home-client:4.0.3'
api 'com.blackducksoftware.bdio:bdio2:3.0.0-beta.47'
implementation 'org.apache.commons:commons-collections4:4.4'
testImplementation 'com.google.guava:guava:30.1-jre'
testImplementation 'org.hamcrest:hamcrest-core:1.3'
testImplementation 'org.mockito:mockito-core:2.18.3'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.7.2'
testImplementation 'com.squareup.okhttp3:okhttp-tls:4.7.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.3.1'
testImplementation 'org.mock-server:mockserver-netty:5.11.2'
testRuntime 'org.slf4j:slf4j-simple:1.7.30'
}