-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
96 lines (87 loc) · 2.79 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
buildscript {
repositories {
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-plugin-group/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.2'
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.8'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.+"
}
}
plugins {
id 'java'
id 'com.gradle.build-scan' version '2.1'
id 'com.github.hierynomus.license' version '0.15.0'
id 'net.saliman.properties' version '1.4.6'
}
apply from: 'gradle/doc.gradle'
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
publishOnFailure()
}
allprojects {
apply plugin: 'com.github.hierynomus.license'
apply plugin: 'idea'
apply plugin: 'net.saliman.properties'
ext {
proteusVersion = '1.6.1'
springBootDependenciesVersion = '2.1.4.RELEASE'
}
project.version += project.hasProperty('versionSuffix') ? project.property('versionSuffix') : ''
repositories {
mavenLocal()
maven {
url 'https://sonatype.netifiinc.com/repository/maven-central/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/jcenter/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-oss/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-artifactory-libs-release-local/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-artifactory-libs-snapshot-local/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
}
license {
header rootProject.file('codequality/HEADER')
strictCheck true
}
test {
testLogging {
events "passed", "skipped", "failed"
}
useJUnitPlatform()
}
}