-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathjava.gradle
More file actions
43 lines (32 loc) · 1.01 KB
/
java.gradle
File metadata and controls
43 lines (32 loc) · 1.01 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
allprojects {
apply plugin: 'java'
apply plugin: 'io.franzbecker.gradle-lombok'
lombok.version = project.lombokVersion
version = '0.0.1'
group = 'com.github.daggerok'
sourceCompatibility = targetCompatibility = "$javaVersion"
/*
apply plugin: 'ear'
ear {
archiveName = "${project.name}.ear"
}
*/
apply plugin: 'war'
war {
archiveName = "${project.name}.war"
}
defaultTasks 'clean', 'build'
compileJava.dependsOn(processResources)
dependencies {
providedCompile "javax:javaee-api:$javaeeVersion"
implementation 'javax.json:javax.json-api:1.0'
implementation 'org.glassfish:javax.json:1.0.4'
implementation 'org.directwebremoting:dwr:3.0.2-RELEASE'
// In java we trust...
implementation "io.vavr:vavr:$vavrVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
implementation "org.slf4j:slf4j-jdk14:$slf4jVersion"
//providedCompile 'com.h2database:h2:1.4.196'
//implementation "org.hibernate:hibernate-core:$hibernateCoreVersion"
}
}