-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (44 loc) · 1.16 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
apply plugin: 'java'
apply plugin: 'maven-publish'
description = 'LBU-Backchannels'
group = 'uk.ac.leedsbeckett'
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
implementation 'org.apache.commons:commons-text:1.9'
implementation 'commons-io:commons-io:2.11.0'
implementation 'commons-codec:commons-codec:1.15'
implementation 'org.apache.commons:commons-csv:1.9.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.0'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url "https://maven.pkg.github.com/leeds-beckett-digital-learning/lbu-backchannels"
credentials {
username = gitHubUserName
password = gitHubPrivateToken
}
}
}
}