-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
109 lines (98 loc) · 3.19 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
105
106
107
108
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.3.0"
}
group = 'fr.maif'
subprojects {
apply plugin: 'java'
apply plugin: 'signing'
apply plugin: 'maven-publish'
group = 'fr.maif'
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
ext {
scalaVersion = "2.13"
alpakkaKafkaVersion = "2.0.7"
jacksonVersion = "2.10.5"
akkaVersion = "2.6.14"
vavrVersion = "0.10.3"
jooqVersion = "3.17.4"
jooqAsyncVersion = "2.0.0"
functionalJsonVersion = "1.0.3"
kafkaVersion = "3.0.1"
reactorKafkaVersion = "1.3.22"
reactorVersion = "3.5.7"
vertxSqlVersion = "4.3.3"
testContainerVersion = "1.19.8"
}
test {
testLogging {
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
pom {
name = "Thoth"
description = "Reactive event sourcing with java"
inceptionYear = "2020"
url = "https://github.com/maif/thoth"
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/thoth"
connection = "scm:git:git://github.com/maif/thoth.git"
developerConnection = "scm:git:ssh://github.com/maif/thoth.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')