FINERACT-1207: Clean up fineract-provider/config/swagger following introduction of fineract-client/

This commit is contained in:
Aleksandar Vidakovic
2020-10-19 21:15:50 +03:00
committed by Petri Tuomola
parent db4d2ae006
commit f192b7315b
7 changed files with 6 additions and 615 deletions
-18
View File
@@ -600,21 +600,3 @@ gitProperties {
// make sure the generateGitProperties task always executes (even when git.properties is not changed)
generateGitProperties.outputs.upToDateWhen { false }
task prepareConfigJson(dependsOn: 'generateGitProperties') {
doLast {
def versionForSwagger
if(project.ext.properties.containsKey("gitProps"))
versionForSwagger = project.ext.gitProps['git.commit.id.describe']
else
versionForSwagger = "unknown"
copy {
from file('config/swagger/config.json.template')
into file('config/swagger')
rename { String filename -> return 'config.json' }
filter(ReplaceTokens, tokens: [VERSION: versionForSwagger])
}
}
}