-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (38 loc) · 1.43 KB
/
build.gradle
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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/4.8.1/userguide/java_library_plugin.html
*/
plugins {
id 'java'
id 'application'
}
version = '0.1'
mainClassName = 'com.pimpelkram.inventory.server.Main'
jar {
manifest {
attributes 'Implementation-Title': 'Inventory-Server',
'Implementation-Version': version,
'Main-Class': mainClassName;
}
}
dependencies {
compile 'com.sparkjava:spark-core:2+'
compile 'org.glassfish:javax.json:+'
compile 'org.slf4j:slf4j-api:1.+'
compile 'org.apache.logging.log4j:log4j-slf4j18-impl:2.+'
compile 'org.apache.logging.log4j:log4j-core:2.+'
compile 'com.fasterxml.jackson.core:jackson-core:+'
compile 'com.fasterxml.jackson.core:jackson-databind:+'
compile 'com.fasterxml.jackson.core:jackson-annotations:+'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5+'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5+'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}