-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (64 loc) · 1.69 KB
/
Copy pathbuild.gradle
File metadata and controls
72 lines (64 loc) · 1.69 KB
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
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: "com.vanniktech.maven.publish.base"
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://repository.mulesoft.org/nexus/content/repositories/public/"
}
maven {
url "https://linkedin.jfrog.io/artifactory/open-source/" // GMA, pegasus
}
}
dependencies {
implementation project(":feathr-config")
implementation project(":feathr-data-models")
implementation project(path: ':feathr-data-models', configuration: 'dataTemplate')
implementation spec.product.mvel
implementation spec.product.jsqlparser
testImplementation spec.product.testing
testImplementation spec.product.mockito
testImplementation spec.product.equalsverifier
testImplementation spec.product.mockito_inline
implementation spec.product.jackson.dataformat_yaml
implementation spec.product.jackson.jackson_databind
implementation spec.product.guava
}
javadoc {
options.noQualifiers 'all'
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
test {
maxParallelForks = 1
forkEvery = 1
// need to keep a lower heap size (TOOLS-296596)
minHeapSize = "512m"
useTestNG()
}
// Required for publishing to local maven
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'feathr-compute'
from components.java
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
}
}
}