|
|
In "build.gradle"
def getJarManifestClasspathForCurrentOs() {
def osClassPath = ''
if (os.contains('windows')) {
configurations.runtime.files.each { cpEntry ->
osClassPath += '\\' + cpEntry.toString().trim().replaceAll(" ", "%20")+ ' '
}
} else {
osClassPath = configurations.runtime.files.collect { "$it" }.join(' ')
}
return osClassPath
}
If User name Directory contain space like "Zeeshan Sikander" Every jar path is separated by space by logic of this peace of code! when it detect space in URI it consider end of one path. So i just added small change in it. And it is working now
|