-
Notifications
You must be signed in to change notification settings - Fork 26
/
build.gradle
56 lines (45 loc) · 1.85 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
group = 'com.tenable'
version = '1.0-SNAPSHOT'
description = """"""
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifactId 'tenable-io'
}
}
}
dependencies {
compile group: 'org.apache.httpcomponents', name: 'httpasyncclient', version:'4.1.2'
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'[2.0.0,)'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version:'[2.0.0,)'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version:'[2.0.0,)'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.23'
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.23'
}
// Configure this block to run the tests
test {
// Access key and secret
jvmArgs "-DtenableIoAccessKey=<ACCESS KEY>"
jvmArgs "-DtenableIoSecretKey=<ACCESS SECRET>"
// A valid domain name for username
jvmArgs "-DuserDomainName=<YOUR DOMAIN>"
// Comma-separated list of host targets to create a scan with. (Warning: do not scan targets that you're not authorized to.)
jvmArgs "-DscanTextTargets=<SCAN_TEXT_TARGETS>"
// Comma-separated list of host alternative targets to launch a scan with. (Warning: do not scan targets that you're not authorized to.)
jvmArgs "-DscanAltTargets=<SCAN_ALT_TARGETS>"
// Name of template to create a scan with.
jvmArgs "-DscanTemplateName=discovery"
// Name of template to create a policy with.
jvmArgs "-DpolicyTemplateName=discovery"
}