-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (44 loc) · 1.33 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
plugins {
id 'nebula.release' version '14.1.1' apply false
}
allprojects {
apply plugin: 'nebula.release'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'jacoco'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://artifactory.lucidworks.com/artifactory/public-artifacts/"
}
}
dependencies {
testImplementation "junit:junit:${junitVersion}"
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
maven {
url project.hasProperty('repositoryUrl') ? project.property('repositoryUrl') : ''
credentials {
username project.hasProperty('lucidArtifactoryUsername') ? project.property('lucidArtifactoryUsername') : ''
password project.hasProperty('lucidArtifactoryPassword') ? project.property('lucidArtifactoryPassword') : ''
}
authentication {
basic(BasicAuthentication)
}
}
}
}
}