fix: Fix multisrc generation under Windows (#1462)
This commit is contained in:
@ -166,6 +166,7 @@ interface ThemeSourceGenerator {
|
|||||||
|
|
||||||
private fun copyThemeClasses(userDir: String, themePkg: String, projectRootPath: String) {
|
private fun copyThemeClasses(userDir: String, themePkg: String, projectRootPath: String) {
|
||||||
val themeSrcPath = "$userDir/multisrc/src/main/java/${themeSuffix(themePkg, "/")}"
|
val themeSrcPath = "$userDir/multisrc/src/main/java/${themeSuffix(themePkg, "/")}"
|
||||||
|
.replace("/", File.separator)
|
||||||
|
|
||||||
val themeDestPath = "$projectRootPath/src/${themeSuffix(themePkg, "/")}"
|
val themeDestPath = "$projectRootPath/src/${themeSuffix(themePkg, "/")}"
|
||||||
File(themeDestPath).mkdirs()
|
File(themeDestPath).mkdirs()
|
||||||
|
Reference in New Issue
Block a user