-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.39 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
52
53
54
plugins {
id 'java'
id 'jacoco'
id 'maven-publish'
id 'com.enonic.defaults' version '2.1.5'
id 'com.enonic.xp.app' version '3.5.2'
}
app {
displayName = 'Snapshotter'
vendorName = 'Enonic AS'
vendorUrl = 'https://enonic.com'
systemVersion = "${xpVersion}"
}
dependencies {
implementation "com.enonic.xp:core-api:${xpVersion}"
implementation "com.enonic.xp:script-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.xp:lib-cluster:${xpVersion}"
include "com.enonic.xp:lib-mail:${xpVersion}"
include "com.enonic.xp:lib-scheduler:${xpVersion}"
include "com.enonic.lib:lib-http-client:3.2.2"
include "com.enonic.lib:lib-mustache:2.1.1"
testImplementation 'org.mockito:mockito-core:5.15.2'
testImplementation 'org.mockito:mockito-junit-jupiter:5.15.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
testImplementation "com.enonic.xp:testing:${xpVersion}"
}
repositories {
mavenLocal()
mavenCentral()
xp.enonicRepo()
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = sourceCompatibility
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
check.dependsOn jacocoTestReport
test {
useJUnitPlatform()
}