-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
73 lines (66 loc) · 1.66 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
plugins {
id 'java'
id 'groovy'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id "com.katalon.gradle-plugin" version "0.1.2"
id("org.sonarqube") version "4.0.0.2929"
}
sonar {
properties {
property("sonar.projectKey", "katalon-studio-basic-report-plugin")
property("sonar.organization", "katalon-studio")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.sources", "Include\\scripts\\groovy")
}
}
repositories {
mavenCentral()
maven {
url 'https://jaspersoft.jfrog.io/jaspersoft/jaspersoft-repo/'
}
flatDir {
dirs 'lib'
}
}
def pluginSources = [
'Keywords',
'Test Listeners',
'Include/scripts/groovy'
]
sourceSets {
main {
groovy {
srcDirs = pluginSources
srcDir 'Libs' // generated by Katalon Studio
}
}
}
shadowJar {
exclude 'Temp*.class'
from('Include/resources') {
include '*.*'
}
from('Include/scripts/groovy/com/kms/katalon/core/reporting/basic/reporting/template'){
include '*.txt'
into 'com/kms/katalon/core/reporting/basic/reporting/template'
}
}
groovydoc {
source = pluginSources
docTitle = 'Basic Report'
}
dependencies {
implementation 'commons-javaflow:commons-javaflow:20060411'
implementation('net.sf.jasperreports:jasperreports:6.20.5') {
exclude group: 'org.springframework'
exclude group: 'bouncycastle'
exclude group: 'org.codehaus.castor'
exclude group: 'com.google.zxing'
exclude group: 'com.fasterxml.jackson.core'
exclude group: 'org.apache.lucene'
exclude group: 'org.jfree'
exclude group: 'org.olap4j'
exclude group: 'xml-apis'
}
implementation 'net.sf.jasperreports:jasperreports-fonts:6.20.5'
}