-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (80 loc) · 2.37 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
plugins {
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'maven-publish'
id 'signing'
}
group = 'io.github.rcvaram'
version '1.0'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients
implementation group: 'org.apache.kafka', name: 'kafka-clients', version: '3.1.0'
}
java {
withJavadocJar()
withSourcesJar()
}
tasks.named('test') {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'io.github.rcvaram'
artifactId = 'KafkaCustomer'
version = '1.0.1'
from components.java
pom {
name = 'KafkaCustomer'
description = 'This is not a consumer for Kafka, It\'s a customer a for kafka who can get only specific message from kafka'
url = 'https://github.com/rcvaram/KafkaCustomer'
inceptionYear = '2022'
licenses {
license {
name = 'MIT License'
url = 'http://www.opensource.org/liceneses/mit-license.php'
}
}
developers {
developer {
id = 'rcvaram'
name = 'Sivaram Rasathurai'
email = 'cvaram96@gmail.com'
}
}
scm {
connection = 'scm:git:git:https://github.com/rcvaram/KafkaCustomer.git'
developerConnection = 'scm:git:ssh://github.com/rcvaram/KafkaCustomer.git'
url = 'https://github.com/rcvaram/KafkaCustomer'
}
}
}
}
repositories {
maven {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = project.properties["ossrhUsername"]
password = project.properties["ossrhPassword"]
}
}
}
}
signing {
sign publishing.publications.mavenJava
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}