-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
103 lines (93 loc) · 2.96 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
plugins {
id 'net.researchgate.release' version '3.0.0'
id 'java'
id 'maven-publish'
id 'signing'
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
group = 'fr.maif'
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
ext {
vavrVersion = "0.10.3"
}
dependencies {
implementation("io.vavr:vavr:$vavrVersion")
implementation("org.hibernate.validator:hibernate-validator:7.0.1.Final")
implementation("jakarta.validation:jakarta.validation-api:3.0.0")
implementation("jakarta.el:jakarta.el-api:5.0.1")
implementation("org.glassfish:jakarta.el:4.0.2")
testImplementation(platform('org.junit:junit-bom:5.9.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation("org.assertj:assertj-core:3.10.0")
}
test {
testLogging {
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
}
}
tasks.named('test') {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
pom {
name = "Jooq Async"
description = "Reactive vertx integration with jooq"
inceptionYear = "2020"
url = "https://github.com/maif/functional-validation"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = 'alexandre.delegue'
name = 'Alexandre Delègue'
url = 'https://github.com/larousso'
}
developer {
id = 'benjamin.cavy'
name = 'Benjamin Cavy'
url = 'https://github.com/ptitFicus'
}
}
scm {
url = "https://github.com/maif/functional-validation"
connection = "scm:git:git://github.com/maif/functional-validation.git"
developerConnection = "scm:git:ssh://github.com/maif/functional-validation.git"
}
}
}
}
}
signing {
sign publishing.publications.mavenJava
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username = System.env.SONATYPE_USERNAME
password = System.env.SONATYPE_PASSWORD
}
}
}
release {
tagTemplate = 'v${version}'
}
release.git.requireBranch.set('master')