Skip to content

Commit

Permalink
Include license section in generated pom
Browse files Browse the repository at this point in the history
  • Loading branch information
rlazo committed Dec 12, 2023
1 parent e26b515 commit 71f0d5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: Upload generated artifacts
uses: actions/upload-artifact@v2
with:
name: google-ai-android
name: generative-ai-android
path: generativeai/m2
retention-days: 5
9 changes: 8 additions & 1 deletion generativeai/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,14 @@ publishing {
groupId = "com.google.ai.client.generativeai"
artifactId = "generativeai"
version = project.version.toString()

pom {
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
}
afterEvaluate {
from(components["release"])
}
Expand Down

0 comments on commit 71f0d5d

Please sign in to comment.