Skip to content

Commit

Permalink
Exclude pegasus jars and release version (#913)
Browse files Browse the repository at this point in the history
* Exclude pegasus jars from final build

* Bump down version

* Update github workflow

Co-authored-by: rkashyap <[email protected]>
  • Loading branch information
rakeshkashyap123 and rkashyap authored Dec 9, 2022
1 parent e587042 commit cd4de09
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# CI release command defaults to publishSigned
# Sonatype release command defaults to sonaTypeBundleRelease
- name: Gradle publish
if: startsWith(github.head_ref, 'release/v')
if: startsWith(github.head_ref, 'releases/v')
run: gradle clean publish
env:
PGP_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Expand Down
9 changes: 8 additions & 1 deletion feathr-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ repositories {
}
}

configurations {
provided

compileOnly.extendsFrom(provided)
testImplementation.extendsFrom provided
}

dependencies {
implementation project(":feathr-data-models")
implementation project(path: ':feathr-data-models', configuration: 'dataTemplate')
implementation spec.product.avro
implementation spec.product.pegasus.data
provided spec.product.pegasus.data
implementation spec.product.typesafe_config
implementation spec.product.log4j
implementation spec.product.jsonSchemaVali
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=v0.10.3-rc5
version=0.10.3-rc6
SONATYPE_AUTOMATIC_RELEASE=true
POM_ARTIFACT_ID=feathr_2.12

0 comments on commit cd4de09

Please sign in to comment.