Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude pegasus jars and release version #913

Merged
merged 3 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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