-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (40 loc) · 1.02 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
plugins {
id 'maven-publish'
id "com.github.node-gradle.node" version '7.1.0'
id 'com.enonic.xp.app' version '3.5.2'
id 'com.enonic.defaults' version '2.1.5'
}
app {
name = project.appName
displayName = 'VWO'
vendorName = 'Enonic AS'
vendorUrl = 'https://enonic.com'
systemVersion = "${xpVersion}"
}
node {
download = true
version = '16.0.0'
}
dependencies {
implementation "com.enonic.xp:jaxrs-api:${xpVersion}"
include "com.enonic.xp:lib-content:${xpVersion}"
include "com.enonic.xp:lib-context:${xpVersion}"
include "com.enonic.xp:lib-portal:${xpVersion}"
include "com.enonic.lib:lib-mustache:2.1.1"
include 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
include 'org.apache.httpcomponents:httpclient:4.5.14'
}
repositories {
mavenCentral()
xp.enonicRepo()
}
task webpack(
dependsOn: npmInstall,
type: NodeTask
) {
script = file('node_modules/webpack/bin/webpack.js')
}
jar {
exclude 'assets/**/*.less'
dependsOn += webpack
}