This repository has been archived by the owner on Feb 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
94 lines (82 loc) · 2.02 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
buildscript {
repositories {
maven {
url "https://nedap.jfrog.io/artifactory"
credentials {
username = "${artifactory_user}"
password = "${artifactory_password}"
}
name = "maven-main-cache"
}
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.1"
}
}
plugins {
id 'java'
id 'antlr'
id "com.jfrog.artifactory" version "4.15.2"
id 'maven'
id "maven-publish"
id 'jacoco'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
group = 'com.nedap.healthcare'
version = '0.1.1'
repositories {
add buildscript.repositories.getByName("maven-main-cache")
jcenter()
}
dependencies {
antlr group: 'org.antlr', name: 'antlr4', version: '4.8-1'
compile group: 'com.nedap.healthcare.archie', name: 'archie-all', version: '0.14.0'
testCompile 'junit:junit:4.12'
}
generateGrammarSource {
arguments += ["-visitor", "-package", "com.nedap.healthcare.aqlparser"]
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'aqlparser'
from components.java
}
}
}
artifactory {
contextUrl = "https://nedap.jfrog.io/artifactory"
publish {
repository {
repoKey = 'libs-releases-local'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
defaults {
publications('mavenJava')
publishArtifacts = true
properties = ['qa.level': 'basic', 'dev.team' : 'core']
publishPom = true
}
}
resolve {
repository {
repoKey = 'libs-releases'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
}
}
jacoco {
toolVersion = "0.8.5"
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.enabled false
}
}