Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Jul 26, 2024
1 parent 81eeaac commit 8dc97fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ publishing {
mavenLocal()

maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
url = findProperty("deployPublishUrl") ?: System.properties['deploy.publish_url']
credentials {
username = findProperty("sonatypeUsername")
password = findProperty("sonatypePassword")
username = findProperty("deployUsername") ?: System.properties['deploy.user']
password = findProperty("deployPassword") ?: System.properties['deploy.token']
}
}
}
Expand Down
13 changes: 5 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ repositories {
}

ext {
patchVersion = findProperty("deployVersion") ?: "local-1.0.0"
baseVersion = "3.9.4.001"
baseGroupId = "io.github.adempiere"
publishGroupId = "io.github.adempiere"
}

sourceCompatibility = 1.11
Expand Down Expand Up @@ -51,16 +53,11 @@ dependencies {

}

def entityType = 'P'
group = "io.github.adempiere"
version = findProperty("deployVersion") ?: "local-1.0.0"

jar {
manifest {
attributes(
"Implementation-Title": "ADempiere Patch",
"Implementation-Version": version,
"EntityType": entityType
"Implementation-Version": patchVersion
)
}
}
Expand All @@ -79,9 +76,9 @@ publishing {
}
publications {
mavenJava(MavenPublication) {
groupId = group
groupId = publishGroupId
artifactId = 'adempiere-customizations'
version = version
version = patchVersion
from components.java
pom {
name = 'Adempiere Patches'
Expand Down

0 comments on commit 8dc97fb

Please sign in to comment.