File tree 1 file changed +46
-0
lines changed 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' java'
3
3
id ' java-test-fixtures'
4
+ id ' maven-publish'
4
5
}
5
6
6
7
dependencies {
@@ -52,3 +53,48 @@ java {
52
53
sourceCompatibility = JavaVersion . VERSION_11
53
54
targetCompatibility = JavaVersion . VERSION_11
54
55
}
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
+ }
You can’t perform that action at this time.
0 commit comments