forked from ga4gh/ga4gh-starter-kit-drs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
105 lines (88 loc) · 3.18 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.1.1/userguide/tutorial_java_projects.html
*/
buildscript {
repositories {
jcenter()
}
}
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
// Apply the plugins to add support for Spring Boot
id 'org.springframework.boot' version '2.5.0'
id 'io.spring.dependency-management' version '1.0.7.RELEASE'
// Apply the plugin to add support for jacoco test coverage report
id 'jacoco'
id 'io.codearte.nexus-staging' version '0.30.0'
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.apache.logging.log4j') {
details.useVersion '2.16.0'
}
}
}
archivesBaseName = 'ga4gh-starter-kit-drs'
group 'org.ga4gh'
version '0.3.1'
repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
implementation 'com.google.guava:guava:28.1-jre'
implementation 'org.springframework.boot:spring-boot-starter-web:2.5.0'
implementation 'commons-cli:commons-cli:1.4'
implementation 'commons-io:commons-io:2.8.0'
implementation 'commons-codec:commons-codec:1.15'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.4'
implementation 'org.hibernate:hibernate-core:5.4.11.Final'
implementation 'org.springframework:spring-orm:5.1.6.RELEASE'
implementation 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final'
implementation 'org.hibernate:hibernate-core:5.4.11.Final'
implementation 'org.postgresql:postgresql:42.2.10'
implementation 'javax.xml.bind:jaxb-api:2.2.8'
implementation 'org.springdoc:springdoc-openapi-ui:1.2.33'
implementation 'org.xerial:sqlite-jdbc:3.8.11.2'
implementation 'com.auth0:java-jwt:3.19.1'
implementation 'org.ga4gh:ga4gh-starter-kit-common:0.5.6'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
testImplementation 'org.testng:testng:7.0.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.5.0'
testImplementation 'org.springframework.security:spring-security-test'
}
jar {
enabled = true
}
bootJar {
mainClassName = 'org.ga4gh.starterkit.drs.app.DrsServer'
}
test {
testLogging {
showStandardStreams = false // make true for log output to console
}
// Use TestNG for unit tests
useTestNG()
}
jacoco {
toolVersion = '0.8.5'
reportsDir = file("$buildDir/reports/jacoco")
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}