forked from commercetools/commercetools-sync-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (54 loc) · 2.74 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
plugins {
id 'org.ajoberstar.git-publish' version '4.1.1'
id 'com.adarshr.test-logger' version '3.2.0'
id 'org.ajoberstar.grgit' version '5.0.0'
id "com.github.ben-manes.versions" version '0.42.0'
id 'ru.vyarus.mkdocs' version '2.4.0'
id "com.github.spotbugs" version "5.0.12"
id 'com.diffplug.spotless' version '6.10.0'
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
}
ext{
commercetoolsJvmSdkVersion = '2.9.0'
mockitoJunitJupiterVersion = '4.7.0'
jupiterApiVersion = '5.9.0'
assertjVersion = '3.23.1'
pmdVersion = '6.14.0'
jacocoVersion = '0.8.8'
caffeineVersion = '3.1.1'
nexusStagingPluginVersion = '0.22.0'
commonTextVersion = '1.9'
}
apply from: "$rootDir/gradle-scripts/repositories.gradle"
apply from: "$rootDir/gradle-scripts/plugins.gradle"
apply from: "$rootDir/gradle-scripts/extensions.gradle"
apply from: "$rootDir/gradle-scripts/project-info.gradle"
apply from: "$rootDir/gradle-scripts/package.gradle"
apply from: "$rootDir/gradle-scripts/java-compile.gradle"
apply from: "$rootDir/gradle-scripts/integration-tests.gradle"
apply from: "$rootDir/gradle-scripts/test.gradle"
apply from: "$rootDir/gradle-scripts/benchmark.gradle"
apply from: "$rootDir/gradle-scripts/test-logger.gradle"
apply from: "$rootDir/gradle-scripts/pmd.gradle"
apply from: "$rootDir/gradle-scripts/jacoco.gradle"
apply from: "$rootDir/gradle-scripts/spotbugs.gradle"
apply from: "$rootDir/gradle-scripts/maven-publish.gradle"
apply from: "$rootDir/gradle-scripts/nexus-publish.gradle"
apply from: "$rootDir/gradle-scripts/javadocs-publish.gradle"
apply from: "$rootDir/gradle-scripts/set-library-version.gradle"
apply from: "$rootDir/gradle-scripts/execution-order.gradle"
apply from: "$rootDir/gradle-scripts/mkdocs.gradle"
apply from: "$rootDir/gradle-scripts/spotless.gradle"
dependencies {
api "com.commercetools.sdk.jvm.core:commercetools-models:${commercetoolsJvmSdkVersion}"
api "com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:${commercetoolsJvmSdkVersion}"
api "com.commercetools.sdk.jvm.core:commercetools-convenience:${commercetoolsJvmSdkVersion}"
implementation "com.github.ben-manes.caffeine:caffeine:${caffeineVersion}"
implementation "org.apache.commons:commons-text:${commonTextVersion}"
testImplementation "org.mockito:mockito-junit-jupiter:${mockitoJunitJupiterVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${jupiterApiVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${jupiterApiVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jupiterApiVersion}"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${jupiterApiVersion}"
testImplementation "org.assertj:assertj-core:${assertjVersion}"
}