FINERACT-1207: Clean up fineract-provider/config/swagger following introduction of fineract-client/
This commit is contained in:
committed by
Petri Tuomola
parent
db4d2ae006
commit
f192b7315b
@@ -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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user