forked from liferay/liferay-blade-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.85 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
44
45
46
47
48
49
buildscript {
repositories {
mavenLocal()
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
dependencies {
classpath group: "com.liferay", name: "com.liferay.css.builder", version: "latest.release"
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.css.builder", version: "latest.release"
}
}
apply plugin: "com.liferay.css.builder"
apply plugin: 'war'
war {
dependsOn buildCSS
exclude('**/*.scss')
filesMatching("**/.sass-cache/") {
it.path = it.path.replace(".sass-cache/", "")
}
includeEmptyDirs = false
}
dependencies {
compileOnly project(':apps:service-builder:basic:basic-api')
compileOnly 'com.liferay.portal:com.liferay.portal.kernel:2.6.0'
compileOnly 'javax.portlet:portlet-api:2.0'
compileOnly 'javax.servlet:javax.servlet-api:3.0.1'
compileOnly 'org.osgi:org.osgi.service.component.annotations:1.3.0'
compileOnly group: 'javax.servlet.jsp.jstl', name: 'jstl-api', version: '1.2'
compileOnly group: 'org.glassfish.web', name: 'jstl-impl', version: '1.2'
compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
compile group: 'org.springframework', name: 'spring-aop', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-core', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-expression', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-webmvc-portlet', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-webmvc', version: '4.1.9.RELEASE'
compile group: 'org.springframework', name: 'spring-web', version: '4.1.9.RELEASE'
}