-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
46 lines (40 loc) · 1.07 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 'java'
id 'jacoco'
id 'maven-publish'
id 'com.enonic.defaults' version '2.1.5'
id 'com.enonic.xp.base' version '3.5.2'
}
ext {
okhttpVersion = '4.12.0'
}
dependencies {
compileOnly "com.enonic.xp:script-api:${xpVersion}"
compileOnly "com.enonic.xp:core-api:${xpVersion}"
implementation 'com.github.mizosoft.methanol:methanol:1.7.0'
implementation 'io.github.hakky54:sslcontext-kickstart:8.3.7'
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:5.14.2"
testImplementation "com.squareup.okhttp3:okhttp-tls:${okhttpVersion}"
testImplementation "com.squareup.okhttp3:mockwebserver:${okhttpVersion}"
testImplementation "com.enonic.xp:testing:${xpVersion}"
testImplementation('org.slf4j:slf4j-api') {
version {
strictly '1.7.26'
}
}
}
repositories {
mavenCentral()
xp.enonicRepo()
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
check.dependsOn jacocoTestReport
artifacts {
archives jar
}