Skip to content

Commit

Permalink
LPS-51081 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Mar 20, 2015
1 parent 6d8294c commit 7713448
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
26 changes: 15 additions & 11 deletions sdk.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,14 @@ createLayouttpl << {

copy {
filesNotMatching("**/*.png") {
filter(ReplaceTokens, tokens: [
"layouttpl.display.name": layouttplDisplayName,
"layouttpl.name": layouttplName,
"layouttpl.template.name": layouttplTemplateName,
"plugin.type.dir": ".."
])
filter(
ReplaceTokens,
tokens: [
"layouttpl.display.name": layouttplDisplayName,
"layouttpl.name": layouttplName,
"layouttpl.template.name": layouttplTemplateName,
"plugin.type.dir": ".."
])
}

from "${rootDir}/tools/templates/layouttpl_tmpl"
Expand All @@ -205,11 +207,13 @@ createTheme << {
}

copy {
filter(ReplaceTokens, tokens: [
"theme.display.name": themeDisplayName,
"theme.name": themeName,
"plugin.type.dir": ".."
])
filter(
ReplaceTokens,
tokens: [
"plugin.type.dir": "..",
"theme.display.name": themeDisplayName,
"theme.name": themeName
])

from "${rootDir}/tools/templates/theme_tmpl"

Expand Down
4 changes: 2 additions & 2 deletions util.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class UtilPluginConvention {
file.exists()
}

void mkdirs(String pathName) {
File file = _project.file(pathName)
void mkdirs(String dirName) {
File file = _project.file(dirName)

file.mkdirs()
}
Expand Down

0 comments on commit 7713448

Please sign in to comment.