Skip to content

Commit 1dd5c65

Browse files
authored
Publish hoptimator-jdbc (#82)
1 parent 3a552a7 commit 1dd5c65

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

hoptimator-jdbc/build.gradle

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java'
33
id 'java-test-fixtures'
4+
id 'maven-publish'
45
}
56

67
dependencies {
@@ -52,3 +53,48 @@ java {
5253
sourceCompatibility = JavaVersion.VERSION_11
5354
targetCompatibility = JavaVersion.VERSION_11
5455
}
56+
57+
publishing {
58+
repositories {
59+
maven {
60+
name 'GitHubPackages'
61+
url = 'https://maven.pkg.github.com/linkedin/Hoptimator'
62+
credentials {
63+
username = System.getenv('GITHUB_ACTOR')
64+
password = System.getenv('GITHUB_TOKEN')
65+
}
66+
}
67+
maven {
68+
name 'LinkedInJFrog'
69+
url 'https://linkedin.jfrog.io/artifactory/hoptimator'
70+
credentials {
71+
username = System.getenv('JFROG_USERNAME')
72+
password = System.getenv('JFROG_API_KEY')
73+
}
74+
}
75+
}
76+
publications {
77+
maven(MavenPublication) {
78+
groupId = 'com.linkedin.hoptimator'
79+
artifactId = 'hoptimator-jdbc'
80+
version = System.getenv('VERSION')
81+
from components.java
82+
pom {
83+
name = 'LinkedIn Hoptimator'
84+
description = 'Multi-hop declarative data pipelines'
85+
url = 'https://github.com/linkedin/Hoptimator'
86+
licenses {
87+
license {
88+
name = 'BSD 2-Clause'
89+
url = 'https://raw.githubusercontent.com/linkedin/Hoptimator/main/LICENSE'
90+
}
91+
}
92+
scm {
93+
connection = 'scm:git:git://github.com:linkedin/Hoptimator.git'
94+
developerConnection = 'scm:git:ssh://github.com:linkedin/Hoptimator.git'
95+
url = 'https://github.com/linkedin/Hoptimator'
96+
}
97+
}
98+
}
99+
}
100+
}

0 commit comments

Comments
 (0)