forked from finos/symphony-bdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (52 loc) · 1.68 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
plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
id "org.owasp.dependencycheck" version "9.0.9"
}
ext.projectVersion = '3.0.0-SNAPSHOT'
ext.isReleaseVersion = !ext.projectVersion.endsWith('SNAPSHOT')
ext.mavenRepoUrl = project.properties['mavenRepoUrl'] ?: '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://symphony-bdk-java.finos.org'
licenses {
license {
name = 'Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
name = 'Symphony Platform Solutions'
email = 'platformsolutions@symphony.com'
organization = 'Symphony Communication Services'
organizationUrl = 'https://symphony.com'
}
}
scm {
connection = 'scm:git:git://github.com/finos/symphony-bdk-java.git'
developerConnection = 'scm:git:ssh://github.com/finos/symphony-bdk.git'
url = 'https://github.com/finos/symphony-bdk-java'
}
}
allprojects {
group = 'org.finos.symphony.bdk'
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"
}