FINERACT-874: Removing files related to old release process (#890)

This commit is contained in:
Petri Tuomola
2020-05-25 08:50:24 +01:00
committed by GitHub
parent 718ff205e5
commit 562b2a1d97
5 changed files with 0 additions and 185 deletions
-56
View File
@@ -342,43 +342,6 @@ modernizer {
]
}
task dist(type:Zip){
baseName = 'fineractplatform'
version = qualifyVersionIfNecessary(releaseVersion)
includeEmptyDirs = true
from('../') {
fileMode = 0755
include '*.md'
}
from('src/main/dist') {
fileMode = 0755
include '*'
}
from('../apps') {
fileMode = 0755
include '**/*'
into('apps')
}
from('../api-docs/') {
fileMode = 0755
include '*'
into('api-docs')
}
from('../fineract-db/') {
fileMode = 0755
include '*.sql'
into('database')
}
from('src/main/resources/sql/migrations') {
fileMode = 0755
include '**/*'
into('database/migrations')
}
from war.outputs.files
into(baseName + '-' + version)
}
compileJava{
dependsOn rat
}
@@ -561,25 +524,6 @@ task setBlankPassword {
}
}
/*
* Support publication of artifacts versioned by topic branch.
* CI builds supply `-P BRANCH_NAME=<TOPIC>` to gradle at build time.
* If <TOPIC> starts with 'MIFOSX-', change version
* from BUILD-SNAPSHOT => <TOPIC>-SNAPSHOT
* e.g. 1.1.0.BUILD-SNAPSHOT => 1.0.0.MIFOSX-1234-SNAPSHOT
*/
def qualifyVersionIfNecessary(version) {
if (rootProject.hasProperty("BRANCH_NAME")) {
def qualifier = rootProject.getProperty("BRANCH_NAME")
if (qualifier.startsWith("MIFOSX-")) {
return version.replace('BUILD', qualifier)
}
}
return version
}
springBoot {
mainClassName = 'org.apache.fineract.ServerApplication'
}