Skip to content

Commit

Permalink
tmp(java): relocation changes for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Jun 13, 2024
1 parent 1c7925c commit 337d464
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions pkg/java/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
publishing {
publications {
relocation(MavenPublication) {
maven(MavenPublication) {
artifact sourcesJar
from components.java

pom {
// Old artifact coordinates
group = 'dev.openfga'
name = 'java'
version = 'v0.2.0-beta.0'
description = 'This is the language library for OpenFGA.'
url = 'https://openfga.dev'
licenses {
license {
name = 'Apache-2.0'
url = 'https://github.com/openfga/language/blob/main/LICENSE'
}
}
developers {
developer {
name = 'OpenFGA'
url = 'https://openfga.dev'
}
}
scm {
url = 'https://github.com/openfga/language'
connection = 'scm:git:[email protected]:openfga/language.git'
developerConnection = 'scm:git:[email protected]:openfga/language.git'
}

distributionManagement {
relocation {
Expand All @@ -18,10 +39,6 @@ publishing {
}
}
}

maven(MavenPublication) {
artifact sourcesJar
}
}
repositories {
maven {
Expand Down

0 comments on commit 337d464

Please sign in to comment.