-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (40 loc) · 752 Bytes
/
build.gradle
File metadata and controls
48 lines (40 loc) · 752 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
45
46
47
48
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
group = 'it.macke.blog'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
eclipseJdt <<
{
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=UTF-8')
}
cleanEclipse <<
{
File f = file('.settings/org.eclipse.core.resources.prefs')
f.delete()
}
eclipse
{
wtp
{
facet
{
facet name: 'jpt.jpa', version: '2.1'
facet name: 'jst.web', version: '3.1'
facet name: 'jst.jsf', version: '2.2'
}
}
}
repositories
{
mavenCentral()
}
dependencies
{
compile 'org.slf4j:slf4j-api:1.7.14'
compile 'javax:javaee-api:7.0'
}