Skip to content

Commit

Permalink
Update Path
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Apr 18, 2023
1 parent ac845ff commit 6aa6040
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_with_gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: gradle publish
env:
ADEMPIERE_LIBRARY_VERSION: ${{ github.event.release.tag_name }}
ADEMPIERE_LIBRARY_GROUP: ${{ secrets.ADEMPIERE_LIBRARY_GROUP }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ allprojects {

sourceCompatibility = 1.11
def baseVersion = '3.9.4'
def baseGroupId = 'io.github.adempiere'
def customGroupId = System.getenv("ADEMPIERE_LIBRARY_GROUP")

dependencies {
api fileTree(
Expand All @@ -23,7 +25,7 @@ dependencies {
]
)
// ADempiere Core
api "io.github.adempiere:base:${baseVersion}"
api "${baseGroupId}:base:${baseVersion}"
}

sourceSets {
Expand Down Expand Up @@ -62,7 +64,7 @@ publishing {
}
publications {
mavenJava(MavenPublication) {
groupId 'io.github.adempiere'
groupId customGroupId
artifactId 'withholding-engine'
version
from components.java
Expand Down

0 comments on commit 6aa6040

Please sign in to comment.