Skip to content

Commit

Permalink
update builder
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Dec 9, 2024
1 parent 5639b6f commit ccb56df
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jar {
repositories {
mavenLocal()
mavenCentral()
maven {
// Adempiere GitHub Organization
url = 'https://maven.pkg.github.com/solop-develop/adempiere-solop'
credentials {
// project property, system properrty, enviroment variable
username = findProperty("deployUsername") ?: System.properties['deploy.user'] ?: System.getenv("GITHUB_DEPLOY_USER")
password = findProperty("deployToken") ?: System.properties['deploy.token'] ?: System.getenv("GITHUB_DEPLOY_TOKEN")
}
}
maven {
// Adempiere GitHub Organization
url = 'https://maven.pkg.github.com/adempiere/adempiere'
Expand Down Expand Up @@ -112,16 +121,16 @@ allprojects {
}
}

task AdempiereReportEngineServer(type: CreateStartScripts) {
task AdempiereTemplateServer(type: CreateStartScripts) {
mainClass = javaMainClass
applicationName = 'adempiere-report-engine-service-server'
outputDir = new File(project.buildDir, 'tmp')
classpath = jar.outputs.files + project.configurations.runtimeClasspath
applicationName = 'adempiere-report-engine-service-server'
outputDir = new File(project.buildDir, 'tmp')
classpath = jar.outputs.files + project.configurations.runtimeClasspath
}

applicationDistribution.into('bin') {
from(AdempiereReportEngineServer)
fileMode = 0755
from(AdempiereTemplateServer)
fileMode = 0755
}

// Create release for project
Expand Down Expand Up @@ -159,21 +168,10 @@ dependencies {
// ADempiere External Libraries
implementation 'io.vavr:vavr:0.10.4'

// ADempiere Core
implementation "${baseGroupId}:base:${baseVersion}"

// ADempiere Projects with additional features
// ADempiere gRPC Utils Base (https://central.sonatype.com/artifact/io.github.adempiere/adempiere-grpc-utils)
implementation "${baseGroupId}:adempiere-grpc-utils:1.5.6"
// AWS3 Connector to use as File Storagee (https://central.sonatype.com/artifact/io.github.adempiere/adempiere-s3-connector)
implementation "${baseGroupId}:adempiere-s3-connector:1.0.7"
implementation "${baseGroupId}:adempiere-jwt-token:1.0.4"
implementation "io.jsonwebtoken:jjwt-api:0.12.6"
implementation "io.jsonwebtoken:jjwt-impl:0.12.6"
implementation "io.jsonwebtoken:jjwt-jackson:0.12.6"

// Others
compileOnly 'org.apache.tomcat:annotations-api:6.0.53'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.0'
implementation "org.apache.poi:poi-ooxml:5.2.5"
// ADempiere Core + Patches + Features
implementation "com.solop:adempiere.solop_libs:3.9.4.001-spuy-0.0.1-rc-14"
}

0 comments on commit ccb56df

Please sign in to comment.