-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (41 loc) · 1.47 KB
/
build.gradle
File metadata and controls
52 lines (41 loc) · 1.47 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
plugins {
id 'java'
}
group = 'uk.ac.hutton.germinate.brapi'
version = '4.9.0'
java {
sourceCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
maven {
url = 'https://repo.spring.io/plugins-release/'
}
maven {
url = 'https://maven.imagej.net/content/repositories/public/'
}
}
dependencies {
implementation fileTree(dir: 'lib', include: ['*.jar'])
implementation 'org.json:json:20250517'
implementation 'cisd:jhdf5:19.04.1'
implementation 'org.jooq:jooq:3.20.5'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'javax.activation:activation:1.1.1'
implementation 'org.glassfish.jaxb:jaxb-runtime:4.0.2'
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
// Stuff needed for debugging
implementation 'com.mysql:mysql-connector-j:8.2.0'
implementation 'org.flywaydb:flyway-core:10.22.0'
implementation 'org.flywaydb:flyway-mysql:10.22.0'
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
implementation 'org.glassfish.jersey.inject:jersey-hk2:3.1.3'
implementation 'org.glassfish.jersey.media:jersey-media-multipart:3.1.3'
}
// Generate a .jar file that other applications can use to communicate with the API
task jarClient (type: Jar, dependsOn: classes) {
from sourceSets.main.output
archiveFileName = "germinate-brapi-client-${project.version}.jar"
includeEmptyDirs = false
include '**/germinate/brapi/resource/**'
}