From 0b474c591b0724782a9064a04edc9a98d123c3e9 Mon Sep 17 00:00:00 2001 From: EdwinBetanc0urt Date: Sun, 8 Dec 2024 23:59:14 -0400 Subject: [PATCH] include version folder. --- build.gradle | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 8773b46..09676d5 100644 --- a/build.gradle +++ b/build.gradle @@ -84,16 +84,17 @@ protobuf { } sourceSets { - main { - java { - srcDirs 'build/generated/source/proto/main/grpc' - srcDirs 'build/generated/source/proto/main/java' - srcDirs 'src/main/proto' - } + main { + java { + srcDirs 'build/generated/source/proto/main/grpc' + srcDirs 'build/generated/source/proto/main/java' + srcDirs 'src/main/proto' + } resources { + srcDirs 'src/main/java' include 'org/spin/base/version.properties' } - } + } } // Copy proto descriptor another folder @@ -111,16 +112,16 @@ allprojects { } } -task AdempiereTemplateServer(type: CreateStartScripts) { +task AdempiereReportEngineServer(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(AdempiereTemplateServer) - fileMode = 0755 + from(AdempiereReportEngineServer) + fileMode = 0755 } // Create release for project