Skip to content

Commit

Permalink
include version folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Dec 9, 2024
1 parent 4bce80a commit 0b474c5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0b474c5

Please sign in to comment.