forked from jodconverter/jodconverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
115 lines (100 loc) · 6.5 KB
/
dependencies.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
110
111
112
113
114
115
// build a map of the dependency artifacts to use. Allows centralized definition
// of the version of artifacts to use. In that respect it serves a role similar
// to <dependencyManagement> in Maven
ext {
versions = [
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Gradle plugins version
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Latest version -> https://sourceforge.net/projects/checkstyle/files/checkstyle
checkstyle_version : '8.16',
// Latest version -> https://plugins.gradle.org/plugin/com.github.kt3k.coveralls
coveralls_version : '2.8.2',
// Latest version -> http://www.eclemma.org/jacoco
jacoco_version : '0.8.2',
// Latest version -> https://plugins.gradle.org/plugin/nebula.integtest
nebula_project_version : '5.2.1',
// Latest version -> https://plugins.gradle.org/plugin/io.codearte.nexus-staging
nexus_staging_version : '0.20.0',
// Latest version -> https://pmd.github.io
pmd_version : '6.10.0',
// Latest version -> https://plugins.gradle.org/plugin/com.diffplug.gradle.spotless
spotless_version : '3.16.0',
// Latest version -> https://plugins.gradle.org/plugin/io.spring.dependency-management
dependency_management_version : '1.0.6.RELEASE',
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Java libraries version
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Main
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
// Latest version -> https://mvnrepository.com/artifact/commons-cli/commons-cli
commons_cli_version : '1.4',
// Latest version -> https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
commons_fileupload_version : '1.4',
// Latest version -> https://mvnrepository.com/artifact/commons-io/commons-io
commons_io_version : '2.6',
// Latest version -> https://mvnrepository.com/artifact/org.libreoffice
libre_office_version : '5.4.2',
// Latest version -> https://mvnrepository.com/artifact/org.openoffice
open_office_version : '4.1.2',
// Latest version -> https://mvnrepository.com/artifact/org.springframework.boot/spring-boot
spring_boot_version : '2.1.2.RELEASE',
// Test
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
// Latest version -> https://mvnrepository.com/artifact/nl.jqno.equalsverifier/equalsverifier
equalsverifier_version : '3.1.4',
// Latest version -> https://mvnrepository.com/artifact/com.google.code.findbugs/findbugs
findbugs_version : '3.0.1',
// Latest version -> https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2/2.0.0
powermock_version : '2.0.0',
// Latest version -> https://mvnrepository.com/artifact/com.github.tomakehurst/wiremock
wiremock_version : '2.20.0'
]
gradlePlugins = [
coveralls : "org.kt3k.gradle.plugin:coveralls-gradle-plugin:$versions.coveralls_version",
dependency_management : "io.spring.gradle:dependency-management-plugin:$versions.dependency_management_version",
nebula_project : "com.netflix.nebula:nebula-project-plugin:$versions.nebula_project_version",
nexus_staging : "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:$versions.nexus_staging_version",
spotless : "com.diffplug.spotless:spotless-plugin-gradle:$versions.spotless_version"
]
libraries = [
// Apache Commons Libraries
commons_cli : "commons-cli:commons-cli:$versions.commons_cli_version",
commons_fileupload : "commons-fileupload:commons-fileupload:$versions.commons_fileupload_version",
commons_io : "commons-io:commons-io:$versions.commons_io_version",
commons_lang3 : "org.apache.commons:commons-lang3",
// Spring Boot libraries
spring_boot_dependencies : "org.springframework.boot:spring-boot-dependencies:$versions.spring_boot_version",
spring_boot_starter : 'org.springframework.boot:spring-boot-starter',
spring_boot_configuration_processor: 'org.springframework.boot:spring-boot-configuration-processor',
spring_boot_starter_test : 'org.springframework.boot:spring-boot-starter-test',
// Spring Libraries
spring_core : "org.springframework:spring-core",
spring_context : "org.springframework:spring-context",
spring_test : "org.springframework:spring-test",
spring_context : "org.springframework:spring-context",
// HTTP Components libraries
httpcomponents_httpcore : "org.apache.httpcomponents:httpcore",
httpcomponents_httpclient : "org.apache.httpcomponents:httpclient",
httpcomponents_httpmime : "org.apache.httpcomponents:httpmime",
httpcomponents_fluenthc : "org.apache.httpcomponents:fluent-hc",
// Logging Libraries
slf4j_api : "org.slf4j:slf4j-api",
slf4j_log4j : "org.slf4j:slf4j-log4j12",
// Other Libraries
gson : "com.google.code.gson:gson",
servlet_api : "javax.servlet:javax.servlet-api",
// Tests
assertj : "org.assertj:assertj-core",
equalsverifier : "nl.jqno.equalsverifier:equalsverifier:$versions.equalsverifier_version",
junit : "junit:junit",
jsr305 : "com.google.code.findbugs:jsr305:$versions.findbugs_version",
findbugs : "com.google.code.findbugs:findbugs:$versions.findbugs_version",
mockito : "org.mockito:mockito-core",
powermock_junit : "org.powermock:powermock-module-junit4:$versions.powermock_version",
powermock_mockito : "org.powermock:powermock-api-mockito2:$versions.powermock_version",
// We now have to use the wiremock standalone version since jetty dependency is provided by spring boot
//wiremock : "com.github.tomakehurst:wiremock:$versions.wiremock_version"
wiremock : "com.github.tomakehurst:wiremock-standalone:$versions.wiremock_version"
]
}