-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.gradle
109 lines (93 loc) 路 4.21 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
sourceCompatibility = 1.8
targetCompatibility = 1.8
//Need for Windows
def defaultEncoding = 'UTF-8'
repositories {
mavenCentral()
jcenter()
maven {
url "http://repository.jboss.org/nexus/content/groups/public-jboss"
}
maven { url "http://repository.apache.org/content/groups/public" }
maven { url "http://repository.springsource.com/maven/bundles/release" }
maven { url "http://repository.codehaus.org" }
maven { url "http://download.java.net/maven/2" }
maven { url "http://download.java.net/maven/glassfish" }
maven { url "http://m2repo.spockframework.org/snapshots" }
maven { url "http://repository.sonatype.org/content/groups/public" }
maven { url "https://mvnrepository.com/artifact/com.sun/tools" }
maven { url 'https://jitpack.io' }
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:latest.release'
}
}
apply plugin: 'com.github.kt3k.coveralls'
dependencies {
compile 'com.google.errorprone:error_prone_annotations:2.3.1'
compile 'commons-digester:commons-digester:2.1'
compile 'com.google.guava:guava:30.0-jre'
compile 'commons-io:commons-io:2.7'
compile "commons-validator:commons-validator:1.6"
compile "org.apache.commons:commons-lang3:3.9"
compile "com.github.mifmif:generex:1.0.2"
compile "dk.brics.automaton:automaton:1.11-8"
compile "com.github.javafaker:javafaker:1.0.2"
compile("com.goikosoft.crawler4j:crawler4j:4.5.10") {
exclude module: 'tika-bundle'
exclude module: 'tika-core'
exclude module: 'tika-parsers'
}
compile group: 'com.sleepycat', name: 'je', version: '18.3.12'
compile "io.reactivex.rxjava2:rxjava:2.2.+"
compile group: 'org.apache.httpcomponents', name: 'httpcore-osgi', version: '4.4.+'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.+'
compile group: 'org.reactivestreams', name: 'reactive-streams', version: '1.0.+'
compile group: "commons-fileupload", name: "commons-fileupload", version: "1.3.3"
compile group: "org.apache.felix", name: "org.apache.felix.gogo.runtime", version: "1.1.+"
compileOnly group: "com.liferay.portal", name: "release.dxp.api"
compileOnly 'com.liferay.portal:com.liferay.portal.kernel'
compileOnly 'com.liferay.portal:com.liferay.portal.impl'
compileOnly 'com.liferay:com.liferay.dynamic.data.mapping.api'
compileOnly 'com.liferay:com.liferay.journal.api'
compileOnly 'com.liferay:com.liferay.message.boards.api'
testCompile 'org.codehaus.groovy:groovy-all:2.5.+'
testCompile group: 'cglib', name: 'cglib-nodep', version: 'latest.integration'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.apache.tika', name: 'tika-core', version: '1.22'
testCompile group: 'org.apache.tika', name: 'tika-parsers', version: '1.22'
testCompile group: 'org.hamcrest', name: 'hamcrest-core', version: 'latest.integration'
testCompile group: 'org.objenesis', name: 'objenesis', version: 'latest.integration'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.23.0'
testCompile group: 'org.powermock', name: 'powermock-core', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-classloading-xstream', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-module-junit4-common', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-module-junit4-rule', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: '1.7.4'
testCompile group: 'org.powermock', name: 'powermock-api-mockito-common', version: '1.7.4'
testCompile('org.spockframework:spock-core:1.2-groovy-2.5') {
exclude module: 'groovy-all'
}
}
test {
testLogging.showStandardStreams = true
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled = false
}
}
task prepareKotlinBuildScriptModel {
}
check.dependsOn jacocoTestReport