File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' java'
3
+ }
1
4
2
- apply plugin : ' java'
3
-
4
- // Uncomment the following lines to work with a local copy of nexmo-java:
5
+ // Uncomment the following lines to work with a local copy of vonage-java-sdk:
5
6
// configurations.all {
6
7
// resolutionStrategy.dependencySubstitution {
7
8
// substitute module("com.nexmo:client") with project(":client")
@@ -13,16 +14,17 @@ repositories {
13
14
}
14
15
15
16
dependencies {
16
- testCompile ' junit:junit:4.12'
17
+ testImplementation ' junit:junit:4.12'
17
18
18
- compile ' com.nexmo:client:5.2.0'
19
- compile " com.sparkjava:spark-core:2.6.0"
20
- compile ' javax.xml.bind:jaxb-api:2.3.0'
19
+ implementation ' com.nexmo:client:5.6.0'
20
+ implementation " com.sparkjava:spark-core:2.6.0"
21
+ implementation ' javax.xml.bind:jaxb-api:2.3.0'
22
+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.9.9'
21
23
}
22
24
23
- task fatJar (type : Jar , dependsOn :configurations. runtime ) {
24
- baseName = project. name + ' -with-dependencies'
25
- from { configurations. runtime . collect { it. isDirectory() ? it : zipTree(it) } }
25
+ task fatJar (type : Jar , dependsOn :configurations. runtimeClasspath ) {
26
+ archiveBaseName = project. name + ' -with-dependencies'
27
+ from { configurations. runtimeClasspath . collect { it. isDirectory() ? it : zipTree(it) } }
26
28
with jar
27
29
}
28
30
assemble. dependsOn fatJar
You can’t perform that action at this time.
0 commit comments