diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-06-10 16:12:16 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-06-10 16:12:16 +0200 |
commit | 920f77491dde4c5ac854ddf313ba1d61debae3b7 (patch) | |
tree | ecac9aa45386cc3d9833b1b298c18c084dac2f0e /core/src | |
parent | 993b8fe11d9ca566fdfab997489fcc948182aae5 (diff) | |
download | dokka-920f77491dde4c5ac854ddf313ba1d61debae3b7.tar.gz dokka-920f77491dde4c5ac854ddf313ba1d61debae3b7.tar.bz2 dokka-920f77491dde4c5ac854ddf313ba1d61debae3b7.zip |
Fixed And/Gradle path bug
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/Utilities/ServiceLocator.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Utilities/ServiceLocator.kt b/core/src/main/kotlin/Utilities/ServiceLocator.kt index 835cd34c..eda83422 100644 --- a/core/src/main/kotlin/Utilities/ServiceLocator.kt +++ b/core/src/main/kotlin/Utilities/ServiceLocator.kt @@ -67,7 +67,7 @@ object ServiceLocator { "jar" -> { val file = JarFile(URL(it.file.substringBefore("!")).toFile()) try { - val jarPath = it.file.substringAfterLast("!").removePrefix("/") // TODO: revision b265a9ffacb8f8e8e6226a9458a92697b02355a8 - removeSurrounding for Ant breaks Gradle + val jarPath = it.file.substringAfterLast("!").removePrefix("/").removeSuffix("/") file.entries() .asSequence() .filter { entry -> !entry.isDirectory && entry.path == jarPath && entry.extension == "properties" } |