-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
104 lines (94 loc) · 2.98 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
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'
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'signing'
group = 'fr.maif'
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
ext {
jacksonVersion = "2.10.5"
akkaVersion = "2.6.6"
vavrVersion = "0.10.0"
_jooqVersion = "3.19.5"
scalaVersion = "2.13"
reactorVersion = "3.6.3"
}
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/jooq-async"
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/jooq-async"
connection = "scm:git:git://github.com/maif/jooq-async.git"
developerConnection = "scm:git:ssh://github.com/maif/jooq-async.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')