-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
46 lines (39 loc) · 1.14 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
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
}
group 'uk.gov.digital.ho.hocs'
if (project.hasProperty('artifactVersion')) {
version artifactVersion
}
repositories {
mavenCentral()
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.networknt:json-schema-validator:1.0.86'
testImplementation 'com.jayway.jsonpath:json-path:2.8.0'
testImplementation 'net.minidev:json-smart:2.5.0'
}
publishing {
publications {
hocsUkviComplaintSchema(MavenPublication) {
from components.java
artifactId = 'hocs-ukvi-complaint-schema'
}
}
repositories {
maven {
name = "hocs-ukvi-complaint-schema"
description = 'The JSON schema for the UKVI Complaints Management complaint schema'
url = 'https://maven.pkg.github.com/UKHomeOffice/hocs-ukvi-complaint-schema'
credentials {
username = "Anonymous"
password = System.getenv("PACKAGE_TOKEN")
}
}
}
}