-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (39 loc) · 1.19 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
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
description = 'LBU-BB-B2-Utils'
group = 'uk.ac.leedsbeckett'
repositories {
mavenCentral()
maven {
url "https://maven.blackboard.com/content/repositories/releases/"
}
}
dependencies {
compileOnly "blackboard.platform:xsscore:3900.19.0"
compileOnly "blackboard.platform:bb-platform:3900.19.0"
compileOnly "log4j:log4j:1.2.17"
compileOnly 'com.fasterxml.jackson.core:jackson-databind:2.10.0'
compileOnly "org.apache.activemq:activemq-client:5.15.11"
testImplementation 'junit:junit:4.13'
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url "https://maven.pkg.github.com/leeds-beckett-digital-learning/lbu-bb-b2-utils"
credentials {
username = gitHubUserName
password = gitHubPrivateToken // the variable resides in ~/.gradle/gradle.properties
}
}
}
}