-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle
82 lines (72 loc) · 2.33 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
plugins {
id 'application'
id 'eclipse'
id 'maven-publish'
id 'checkstyle'
}
group = 'com.glencoesoftware'
version = '0.2.3-SNAPSHOT'
mainClassName = 'com.glencoesoftware.bioformats2raw.Converter'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
maven {
url 'https://artifacts.openmicroscopy.org/artifactory/repo/'
}
maven {
url 'https://repo.glencoesoftware.com/repository/n5-zarr-snapshots/'
}
maven {
url 'https://saalfeldlab.github.io/maven'
}
}
dependencies {
implementation 'ome:formats-gpl:6.4.0'
implementation 'info.picocli:picocli:4.2.0'
implementation 'com.univocity:univocity-parsers:2.8.4'
implementation 'org.janelia.saalfeldlab:n5:2.1.6'
implementation 'org.janelia.saalfeldlab:n5-blosc:1.0.1'
implementation 'org.janelia.saalfeldlab:n5-zarr:0.0.3-SNAPSHOT'
// https://github.com/junit-team/junit5-samples/blob/master/junit5-migration-gradle/build.gradle
def junit4Version = '4.12'
def junitVintageVersion = '5.2.0'
def junitJupiterVersion = '5.2.0'
def junitPlatformVersion = '1.2.0'
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
testImplementation "junit:junit:${junit4Version}"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVintageVersion}"
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junitPlatformVersion}"
// https://stackoverflow.com/questions/45462987/junit5-with-intellij-and-gradle
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}"
}
distributions {
main {
contents {
from("$projectDir") {
include 'README.md'
include 'LICENSE.txt'
}
}
}
}
publishing {
publications {
bioformats2raw(MavenPublication) {
from components.java
}
}
repositories {
maven {
url 'https://repo.glencoesoftware.com/repository/bioformats2raw2ometiff/'
credentials {
username = project.properties.ArtifactoryUserName
password = project.properties.ArtifactoryPassword
}
}
}
}
checkstyle {
toolVersion = "8.26"
}