-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
62 lines (52 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
id "org.owasp.dependencycheck" version "9.0.9"
}
group = 'org.finos.symphony.wdk'
ext.projectVersion = '1.7.0-SNAPSHOT'
ext.mavenRepoUrl = ext.projectVersion.endsWith('SNAPSHOT') ? 'https://oss.sonatype.org/content/repositories/snapshots/' : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
ext.mavenRepoUsername = project.properties['mavenRepoUsername'] ?: 'Symphony artifactory user'
ext.mavenRepoPassword = project.properties['mavenRepoPassword'] ?: 'Symphony artifactory password'
ext.pomDefinition = {
url = 'https://github.com/finos/symphony-wdk'
licenses {
license {
name = 'Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
name = 'Symphony Platform Solutions'
email = '[email protected]'
organization = 'Symphony Communication Services'
organizationUrl = 'https://symphony.com'
}
}
scm {
connection = 'scm:git:git://github.com/finos/symphony-wdk.git'
developerConnection = 'scm:git:ssh://github.com/finos/symphony-wdk.git'
url = 'https://github.com/finos/symphony-wdk'
}
}
allprojects {
group = 'org.finos.symphony.wdk'
version = projectVersion
defaultTasks 'build'
}
nexusPublishing {
packageGroup = 'org.finos'
repositories {
sonatype {
username = project.ext.mavenRepoUsername
password = project.ext.mavenRepoPassword
}
}
}
repositories {
mavenCentral()
}
dependencyCheck {
failBuildOnCVSS=5
suppressionFile="./allow-list.xml"
}