File tree 2 files changed +18
-10
lines changed
2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The search is done only in the document and chapter. The bricks are ignored.
11
11
12
12
## edc Version
13
13
14
- Current release is compatible with edc v3.2+
14
+ Current release is compatible with edc v3.2+ and it's built with Java 11
15
15
16
16
## How can I get the latest release?
17
17
@@ -22,13 +22,13 @@ You can pull it from the central Maven repositories:
22
22
<dependency >
23
23
<groupId >fr.techad</groupId >
24
24
<artifactId >edc-httpd</artifactId >
25
- <version >2.0.0 </version >
25
+ <version >2.0.1 </version >
26
26
</dependency >
27
27
```
28
28
29
29
### Gradle
30
30
``` groovy
31
- implementation 'fr.techad:edc-httpd:2.0.0 '
31
+ implementation 'fr.techad:edc-httpd:2.0.1 '
32
32
```
33
33
## How can I create and run a docker image?
34
34
You have just to use this two commands in the repository, -v parameter is optional for the second command
Original file line number Diff line number Diff line change @@ -4,11 +4,15 @@ plugins {
4
4
id ' signing'
5
5
}
6
6
group ' fr.techad'
7
- version ' 2.0.0 '
7
+ version ' 2.0.1 '
8
8
sourceCompatibility = 1.8
9
+ ext. withDependencies= project. hasProperty(' withDependencies' )
9
10
// Used to be able to add dependencies to jar
11
+ if (withDependencies){
10
12
configurations. implementation. setCanBeResolved(true )
11
13
configurations. api. setCanBeResolved(true )
14
+ }
15
+
12
16
13
17
14
18
java {
@@ -40,12 +44,16 @@ dependencies {
40
44
jar {
41
45
duplicatesStrategy = DuplicatesStrategy . EXCLUDE
42
46
manifest {
43
- attributes(
47
+ if (withDependencies){
48
+ attributes(
44
49
' Main-Class' : ' fr.techad.edc.httpd.EdcWebServer'
45
- )
50
+ )
51
+ }
46
52
}
47
53
from {
48
- configurations. implementation. collect { it. isDirectory() ? it : zipTree(it) }
54
+ if (withDependencies){
55
+ configurations. implementation. collect { it. isDirectory() ? it : zipTree(it) }
56
+ }
49
57
}
50
58
}
51
59
// Execute Junit tests
@@ -89,9 +97,9 @@ publishing {
89
97
}
90
98
}
91
99
scm {
92
- connection = ' scm:git:git://github.com/tech-advantage/edc-httpd-java .git'
93
- developerConnection = ' scm:git:ssh://github.com/tech-advantage/edc-httpd-java .git'
94
- url = ' https://github.com/tech-advantage/edc-httpd-java '
100
+ connection = ' scm:git:git://github.com/tech-advantage/edc-httpd.git'
101
+ developerConnection = ' scm:git:ssh://github.com/tech-advantage/edc-httpd.git'
102
+ url = ' https://github.com/tech-advantage/edc-httpd'
95
103
}
96
104
}
97
105
}
You can’t perform that action at this time.
0 commit comments