-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
108 lines (94 loc) · 3.5 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
97
98
99
100
101
102
103
104
105
106
107
108
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/5.0/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'application'
id "jacoco"
id "org.sonarqube" version "2.8"
id 'io.github.0ffz.github-packages' version '1.2.1'
}
repositories {
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
mavenLocal()
maven githubPackage.invoke("metafacture")
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:26.0-jre'
implementation 'org.jooq:joox-java-6:1.6.0'
implementation 'org.metafacture:metafacture-io:6.1.2'
implementation 'org.metafacture:metafacture-plumbing:6.1.2'
implementation 'org.metafacture:metafacture-strings:6.1.2'
implementation 'org.metafacture:metafacture-triples:6.1.2'
implementation 'org.metafacture:metafacture-formatting:6.1.2'
implementation 'org.metafacture:metafacture-monitoring:6.1.2'
implementation ('org.metafacture:metafacture-runner:6.1.2'){
exclude group: 'org.antlr', module: 'antlr'
}
implementation 'org.metafacture:metafacture-json:6.1.2'
implementation 'org.metafacture:metafacture-html:6.1.2'
implementation 'org.metafacture:metafacture-elasticsearch:6.1.2'
implementation 'org.metafacture:metafacture-xml:6.1.2'
implementation 'org.metafacture:metafix:1.1.2'
implementation('org.metafacture:metafacture-biblio:6.1.2') {
exclude group: 'xml-apis', module: 'xml-apis'
}
implementation 'org.metafacture:metafacture-csv:6.1.2'
// Required after upgrade to Gradle 7.2 in metafacture-fix:
// (TODO: avoid RecognitionException/Flux.main in ETL.java)
implementation "org.antlr:antlr-runtime:3.2"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.10.4'
implementation 'com.github.erosb:everit-json-schema:1.14.1'
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'org.slf4j:slf4j-log4j12:1.7.33'
implementation 'org.apache.logging.log4j:log4j-core:2.18.0'
implementation 'com.jayway.jsonpath:json-path:2.7.0'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'commons-io:commons-io:2.6'
implementation 'org.jsoup:jsoup:1.12.1'
// Test frameworks:
testImplementation 'junit:junit:4.12'
testImplementation 'com.pgs-soft:HttpClientMock:1.0.0'
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.33.2'
testImplementation "org.mockito:mockito-core:2.+"
}
apply plugin : "java"
apply plugin: "maven-publish"
sourceCompatibility = JavaVersion.VERSION_17
group = "org.oersi"
version = "0.8.0-SNAPSHOT"
ext {
javaMainClass = "oersi.ETL"
}
application {
mainClassName = javaMainClass
}
sonarqube {
properties {
property "sonar.projectKey", "oersi_oersi-etl"
property "sonar.organization", "oersi"
}
}
jacocoTestReport {
reports {
xml.enabled true
}
}
run {
// pass system properties, e.g. `gradle run -Dlog4j.debug`
systemProperties System.getProperties()
}
test {
filter {
excludeTestsMatching "IT*"
}
}