diff options
author | Ian Ni-Lewis <ilewis@google.com> | 2013-09-30 14:20:39 -0700 |
---|---|---|
committer | Ian Ni-Lewis <ilewis@google.com> | 2013-09-30 14:20:39 -0700 |
commit | 8e1b2ff9cc26a2ec9f4019076c16b4e8d109a494 (patch) | |
tree | 803ba61da4ea9f7e6fbab1c27a52fb18e1296b4e /buildSrc | |
parent | 8da8625243369bd500f5f0411f25bf4c33c4a289 (diff) | |
download | build-8e1b2ff9cc26a2ec9f4019076c16b4e8d109a494.tar.gz |
Fix some issues:
- Module name being used instead of package name
- compile SDK version breaking on sample creation
Change-Id: Ie503d237f311e8a84da3a28cf29860ee2af36f8d
Diffstat (limited to 'buildSrc')
-rw-r--r-- | buildSrc/src/main/groovy/com/example/android/samples/build/SampleGenProperties.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildSrc/src/main/groovy/com/example/android/samples/build/SampleGenProperties.groovy b/buildSrc/src/main/groovy/com/example/android/samples/build/SampleGenProperties.groovy index 5a811081..f1420cdf 100644 --- a/buildSrc/src/main/groovy/com/example/android/samples/build/SampleGenProperties.groovy +++ b/buildSrc/src/main/groovy/com/example/android/samples/build/SampleGenProperties.groovy @@ -157,7 +157,7 @@ class SampleGenProperties { String outputPath = relativeInputPath outputPath = outputPath.replaceAll('_PROJECT_', targetSampleName()) outputPath = outputPath.replaceAll('_MODULE_', targetSampleModule()) - outputPath = outputPath.replaceAll('_PACKAGE_', packageAsPath(targetSampleModule())) + outputPath = outputPath.replaceAll('_PACKAGE_', packageAsPath(targetSamplePackage)) // This is kind of a hack; IntelliJ picks up any and all subdirectories named .idea, so // named them ._IDE_ instead. TODO: remove when generating .idea projects is no longer necessary. |