-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
75 lines (64 loc) · 1.82 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
plugins {
id("java")
id("maven-publish")
id("signing")
id("application")
id("java-library")
alias(libs.plugins.io.freefair.lombok)
alias(libs.plugins.io.codearte.nexus.staging)
alias(libs.plugins.org.jreleaser)
alias(libs.plugins.org.jreleaser.jdks)
}
application {
mainClass = 'com.github.couchmove.CouchmoveCommand'
}
repositories {
mavenLocal()
mavenCentral()
}
group = "com.github.differentway"
description = "Couchmove"
sourceCompatibility = "1.8"
compileJava {
options.compilerArgs += ["-Aproject=${project.group}/${project.name}"]
}
test {
useJUnitPlatform()
exclude "**/*IT*", "**/*IntTest*"
testLogging {
events 'FAILED', 'SKIPPED'
}
}
check.dependsOn test
task integrationTest(type: Test) {
useJUnitPlatform()
description = "Execute integration tests."
group = "verification"
include "**/*IT*", "**/*IntTest*"
testLogging {
events 'FAILED', 'SKIPPED'
}
}
check.dependsOn integrationTest
dependencies {
api(libs.couchbase.client)
implementation(libs.slf4j.api)
implementation(libs.intellij.annotations.java8)
implementation(libs.commons.codec)
implementation(libs.commons.io)
implementation(libs.commons.lang)
implementation(libs.guava.jre)
implementation(libs.semver4j)
implementation(libs.picocli)
implementation(libs.logback.classic)
annotationProcessor(libs.picocli.codegen)
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.junit.jupiter.engine)
testImplementation(libs.junit.jupiter.params)
testImplementation(libs.testcontainers.couchbase)
testImplementation(libs.mockito.core)
testImplementation(libs.mockito.junit.jupiter)
testImplementation(libs.assertj.core)
}
apply from: "gradle/publish.gradle"
apply from: "gradle/jreleaser.gradle"