-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (34 loc) · 879 Bytes
/
build.gradle
File metadata and controls
44 lines (34 loc) · 879 Bytes
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
plugins {
id 'java'
id 'maven-publish'
}
group = 'fr.karam'
version = '1.0.0'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.mongodb:mongo-java-driver:3.12.14'
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'org.mongodb:bson:5.1.3'
implementation 'com.hazelcast:hazelcast:5.5.0'
testImplementation 'junit:junit:4.13.2'
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'fr.karam'
artifactId = 'entity-framework'
version = '1.0.0'
from components.java
}
}
}