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