forked from PharmGKB/genome-sequence-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (41 loc) · 975 Bytes
/
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
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
allprojects {
apply plugin: 'java-library'
group = 'org.pharmgkb.parsers'
version = '0.3.0'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
}
subprojects {
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.guava:guava:33.+'
implementation 'org.slf4j:slf4j-api:2.+'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
testImplementation(platform('org.junit:junit-bom:5.+'))
testImplementation('org.junit.jupiter:junit-jupiter:5.+')
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.assertj:assertj-core:3.+'
testImplementation 'org.assertj:assertj-guava:3.+'
}
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = uri("${layout.buildDirectory}/publishing-repository")
}
}
}