Skip to content

Commit 9daa0fb

Browse files
Publish hoptimator-kafka Module (#164)
Co-authored-by: Shrinand Thakkar <sthakkar@linkedin.com>
1 parent a8d90b1 commit 9daa0fb

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

hoptimator-kafka/build.gradle

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id 'java-library'
3+
id 'maven-publish'
34
}
45

56
dependencies {
@@ -38,3 +39,48 @@ tasks.register('intTest', Test) {
3839
events "passed", "skipped", "failed"
3940
}
4041
}
42+
43+
publishing {
44+
repositories {
45+
maven {
46+
name 'GitHubPackages'
47+
url = 'https://maven.pkg.github.com/linkedin/Hoptimator'
48+
credentials {
49+
username = System.getenv('GITHUB_ACTOR')
50+
password = System.getenv('GITHUB_TOKEN')
51+
}
52+
}
53+
maven {
54+
name 'LinkedInJFrog'
55+
url 'https://linkedin.jfrog.io/artifactory/hoptimator'
56+
credentials {
57+
username = System.getenv('JFROG_USERNAME')
58+
password = System.getenv('JFROG_API_KEY')
59+
}
60+
}
61+
}
62+
publications {
63+
maven(MavenPublication) {
64+
groupId = 'com.linkedin.hoptimator'
65+
artifactId = 'hoptimator-kafka'
66+
version = System.getenv('VERSION')
67+
from components.java
68+
pom {
69+
name = 'LinkedIn Hoptimator'
70+
description = 'Multi-hop declarative data pipelines'
71+
url = 'https://github.com/linkedin/Hoptimator'
72+
licenses {
73+
license {
74+
name = 'BSD 2-Clause'
75+
url = 'https://raw.githubusercontent.com/linkedin/Hoptimator/main/LICENSE'
76+
}
77+
}
78+
scm {
79+
connection = 'scm:git:git://github.com:linkedin/Hoptimator.git'
80+
developerConnection = 'scm:git:ssh://github.com:linkedin/Hoptimator.git'
81+
url = 'https://github.com/linkedin/Hoptimator'
82+
}
83+
}
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)