-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
44 lines (33 loc) · 927 Bytes
/
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
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins", version: "2.0.10"
}
repositories {
mavenLocal()
maven {
url "https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public"
}
}
}
apply plugin: "com.liferay.plugin"
apply plugin: "com.liferay.gulp"
import com.liferay.gradle.plugins.gulp.ExecuteGulpTask
task compileTypeScript(type: ExecuteGulpTask)
compileTypeScript {
dependsOn npmInstall
gulpCommand = 'default'
}
classes {
dependsOn compileTypeScript
}
dependencies {
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
compileOnly group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
}
repositories {
mavenLocal()
maven {
url "https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public"
}
}