-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (69 loc) · 2.04 KB
/
build.gradle
File metadata and controls
84 lines (69 loc) · 2.04 KB
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
83
plugins {
id 'java'
id 'maven-publish'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'tools.jackson.core:jackson-databind:3.0.3'
testImplementation platform('org.junit:junit-bom:5.10.2')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-core:5.21.0'
}
group = 'io.github.deblockt'
description = 'json-diff'
repositories {
mavenCentral()
}
java {
withJavadocJar()
withSourcesJar()
sourceCompatibility = JavaLanguageVersion.of(21)
targetCompatibility = JavaLanguageVersion.of(21)
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'json-diff'
groupId = 'io.github.deblockt'
from components.java
pom {
name = 'json-diff'
description = 'A customizable lib to perform a json-diff'
url = 'https://github.com/deblockt/json-diff'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'deblockt'
name = 'Thomas Deblock'
email = 'deblock.thomas.62@gmail.com'
url = 'https://github.com/deblockt'
}
}
scm {
connection = 'scm:git:https://github.com/deblockt/json-diff.git'
developerConnection = 'scm:git:ssh://github.com/deblockt/json-diff.git'
url = 'https://github.com/deblockt/json-diff'
}
}
}
}
repositories {
maven {
name = 'staging'
url = layout.buildDirectory.dir('staging-deploy')
}
}
}