Skip to content

Commit

Permalink
Publish hoptimator-jdbc
Browse files Browse the repository at this point in the history
  • Loading branch information
jogrogan committed Jan 8, 2025
1 parent 3a552a7 commit 5649a18
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions hoptimator-jdbc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'java'
id 'java-test-fixtures'
id 'maven-publish'
}

dependencies {
Expand Down Expand Up @@ -52,3 +53,48 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

publishing {
repositories {
maven {
name 'GitHubPackages'
url = 'https://maven.pkg.github.com/linkedin/Hoptimator'
credentials {
username = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
}
}
maven {
name 'LinkedInJFrog'
url 'https://linkedin.jfrog.io/artifactory/hoptimator'
credentials {
username = System.getenv('JFROG_USERNAME')
password = System.getenv('JFROG_API_KEY')
}
}
}
publications {
maven(MavenPublication) {
groupId = 'com.linkedin.hoptimator'
artifactId = 'hoptimator-jdbc'
version = System.getenv('VERSION')
from components.java
pom {
name = 'LinkedIn Hoptimator'
description = 'Multi-hop declarative data pipelines'
url = 'https://github.com/linkedin/Hoptimator'
licenses {
license {
name = 'BSD 2-Clause'
url = 'https://raw.githubusercontent.com/linkedin/Hoptimator/main/LICENSE'
}
}
scm {
connection = 'scm:git:git://github.com:linkedin/Hoptimator.git'
developerConnection = 'scm:git:ssh://github.com:linkedin/Hoptimator.git'
url = 'https://github.com/linkedin/Hoptimator'
}
}
}
}
}

0 comments on commit 5649a18

Please sign in to comment.