-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (46 loc) · 1.05 KB
/
build.gradle
File metadata and controls
51 lines (46 loc) · 1.05 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
apply plugin: 'pegasus'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'java'
apply plugin: "com.vanniktech.maven.publish.base"
afterEvaluate {
dependencies {
dataTemplateCompile spec.product.pegasus.data
}
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://repository.mulesoft.org/nexus/content/repositories/public/"
}
maven {
url "https://linkedin.jfrog.io/artifactory/open-source/" // GMA, pegasus
}
}
// Required for publishing to local maven
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'feathr-data-models'
from components.java
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
}
}
}