-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (38 loc) · 1 KB
/
Copy pathbuild.gradle
File metadata and controls
43 lines (38 loc) · 1 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
plugins {
id 'java'
}
sourceSets {
main {
java {
srcDir '.'
}
}
}
repositories {
maven {
mavenCentral()
url "https://jitpack.io"
}
}
def harnessImplementation = [
group: 'io.github.georgeakulov',
name: 'json-schema',
version: '1.2.3'
]
dependencies {
implementation "$harnessImplementation.group:$harnessImplementation.name:$harnessImplementation.version"
implementation("com.fasterxml.jackson.core:jackson-databind:2.22.1")
}
jar {
archiveBaseName = 'json-schema'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes "Main-Class": "bowtie.JsonSchemaValidator"
attributes "Implementation-Group": harnessImplementation.group
attributes "Implementation-Name": harnessImplementation.name
attributes "Implementation-Version": harnessImplementation.version
}
}