Skip to content

Commit

Permalink
gradle: set group id as per publish plugin recommendation (OpenLineag…
Browse files Browse the repository at this point in the history
…e#3003)

Signed-off-by: Maciej Obuchowski <[email protected]>
  • Loading branch information
mobuchowski authored Aug 29, 2024
1 parent 22be834 commit 185cd0e
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 8 deletions.
3 changes: 3 additions & 0 deletions client/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"


pmd {
consoleOutput = true
toolVersion = "6.46.0"
Expand Down
2 changes: 2 additions & 0 deletions integration/flink/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"

archivesBaseName='openlineage-flink'

ext {
Expand Down
4 changes: 4 additions & 0 deletions integration/spark-extension-entrypoint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}


group = "io.openlineage"


ext {
junit5Version = '5.10.1'
assertjVersion = '3.25.3'
Expand Down
3 changes: 3 additions & 0 deletions integration/spark-extension-interfaces/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"


ext {
junit5Version = '5.10.1'
assertjVersion = '3.25.3'
Expand Down
3 changes: 3 additions & 0 deletions integration/spark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"


ext {
isReleaseVersion = !version.endsWith("SNAPSHOT")
scala = project.findProperty("scala.binary.version").toString()
Expand Down
2 changes: 2 additions & 0 deletions integration/sql/iface-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"

repositories {
mavenLocal()
maven {
Expand Down
16 changes: 8 additions & 8 deletions proxy/backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ plugins {
id 'com.diffplug.spotless' version '6.12.0'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id "pmd"
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

group = "io.openlineage"

pmd {
consoleOutput = true
toolVersion = "6.46.0"
Expand Down Expand Up @@ -141,16 +144,13 @@ publishing {
"version": project.property("version")
]
}
}

nexusPublishing {
repositories {
maven {
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('RELEASE_USERNAME')
password = System.getenv('RELEASE_PASSWORD')
}
sonatype {
username = System.getenv('RELEASE_USERNAME')
password = System.getenv('RELEASE_PASSWORD')
}
}
}
Expand Down

0 comments on commit 185cd0e

Please sign in to comment.