File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' java-library'
3+ id ' maven-publish'
34}
45
56dependencies {
@@ -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+ }
You can’t perform that action at this time.
0 commit comments