forked from TheCoder4eu/BootsFaces-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (29 loc) · 1.2 KB
/
build.gradle
File metadata and controls
33 lines (29 loc) · 1.2 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
apply plugin: 'java'
apply plugin: 'war'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenLocal()
mavenCentral()
// You may define additional repositories, or even remove "mavenCentral()".
// Read more about repositories here:
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:repositories
}
dependencies {
// TODO: Add dependencies here ...
// You can read more about how to add dependency here:
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:how_to_declare_your_dependencies
//testCompile group: 'junit', name: 'junit', version: '4.10'
providedCompile 'javax.enterprise:cdi-api:1.2'
providedCompile 'javax.servlet:servlet-api:3.+'
providedCompile 'com.sun.faces:jsf-api:2.2.+'
providedCompile 'com.sun.faces:jsf-impl:2.2.+'
providedCompile 'org.glassfish.web:el-impl:2.2'
providedCompile 'javax.validation:validation-api:1.0.0.GA'
compile "net.bootsfaces:bootsfaces:1.2.0"
}
war {
archiveName = 'Examples.war'
//classpath fileTree(dir: 'bsflib', include: '*') // adds a file-set to the WEB-INF/lib dir.
}