-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (39 loc) · 1.16 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
plugins {
id 'com.enonic.xp.app' version '1.0.17'
id "com.moowork.node" version "1.1.1"
}
app {
name = project.appName
displayName = 'Enonic Drunk Compass'
vendorName = 'Enonic AS'
vendorUrl = 'http://enonic.com'
systemVersion = "${xpVersion}"
}
node {
download = true
version = '6.9.2'
}
dependencies {
compile "com.enonic.xp:core-api:${xpVersion}"
compile "com.enonic.xp:portal-api:${xpVersion}"
include "com.enonic.xp:lib-content:${xpVersion}"
include "com.enonic.xp:lib-portal:${xpVersion}"
include "com.enonic.xp:lib-mustache:${xpVersion}"
include "com.enonic.xp:lib-thymeleaf:${xpVersion}"
include "com.enonic.xp:lib-io:${xpVersion}"
include "com.enonic.lib:lib-router:1.0.1"
include "com.enonic.xp:lib-websocket:${xpVersion}"
include "openxp.lib.geolocation:geolocation:1.0.0-SNAPSHOT"
}
repositories {
mavenLocal()
jcenter()
xp.enonicRepo()
}
task webpack( type: NodeTask ) {
script = file( 'node_modules/webpack/bin/webpack.js' )
}
// processes your package.json before running webpack
webpack.dependsOn 'npmInstall'
webpack.dependsOn 'processResources'
jar.dependsOn webpack