From bb943d2f7158a3efb2c11418aed46af8de84d25a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Apr 2022 12:23:59 -0500 Subject: [PATCH] chore: generate template (#19) --- .../static/{{~ plugin_dependencies.dart }} | 14 +++++++++ .../static/{{~ plugin_platforms.dart }} | 17 ++++++++++ .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../android/.gitignore | 0 .../android/build.gradle | 0 .../android/settings.gradle | 0 .../android/src/main/AndroidManifest.xml | 0 .../{{project_name.pascalCase()}}Plugin.kt | 0 .../{{project_name.snakeCase()}}_android.dart | 0 .../pubspec.yaml | 0 ...oject_name.snakeCase()}}_android_test.dart | 0 .../CHANGELOG.md | 0 .../{{project_name.snakeCase()}}_ios/LICENSE | 0 .../README.md | 0 .../{{project_name.pascalCase()}}Plugin.h | 0 .../{{project_name.pascalCase()}}Plugin.m | 0 .../{{project_name.snakeCase()}}_ios.podspec | 0 .../lib/{{project_name.snakeCase()}}_ios.dart | 0 .../pubspec.yaml | 0 ...{{project_name.snakeCase()}}_ios_test.dart | 0 .../.gitignore | 0 .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../{{project_name.snakeCase()}}_linux.dart | 0 .../{{project_name.snakeCase()}}_linux.dart | 0 .../linux/.gitignore | 0 .../linux/CMakeLists.txt | 0 .../{{project_name.snakeCase()}}_plugin.h | 0 ...project_name.snakeCase()}}_linux_plugin.cc | 0 .../pubspec.yaml | 0 ...project_name.snakeCase()}}_linux_test.dart | 0 .../.gitignore | 0 .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../{{project_name.snakeCase()}}_macos.dart | 0 .../{{project_name.pascalCase()}}Plugin.swift | 0 ...{{project_name.snakeCase()}}_macos.podspec | 0 .../pubspec.yaml | 0 ...project_name.snakeCase()}}_macos_test.dart | 0 .../.gitignore | 0 .../CHANGELOG.md | 0 .../{{project_name.snakeCase()}}_web/LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../lib/{{project_name.snakeCase()}}_web.dart | 0 .../pubspec.yaml | 0 ...{{project_name.snakeCase()}}_web_test.dart | 0 .../.gitignore | 0 .../.metadata | 0 .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../{{project_name.snakeCase()}}_windows.dart | 0 .../pubspec.yaml | 0 ...oject_name.snakeCase()}}_windows_test.dart | 0 .../windows/.gitignore | 0 .../windows/CMakeLists.txt | 0 .../{{project_name.snakeCase()}}_windows.h | 0 ...ject_name.snakeCase()}}_windows_plugin.cpp | 0 .../{{project_name.snakeCase()}}/pubspec.yaml | 31 ++----------------- 67 files changed, 33 insertions(+), 29 deletions(-) create mode 100644 brick/__brick__/static/{{~ plugin_dependencies.dart }} create mode 100644 brick/__brick__/static/{{~ plugin_platforms.dart }} rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/LICENSE (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/README.md (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/android/.gitignore (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/android/build.gradle (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/android/settings.gradle (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/android/src/main/AndroidManifest.xml (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/android/src/main/kotlin/{{org_name.pathCase()}}/{{project_name.pascalCase()}}Plugin.kt (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/lib/{{project_name.snakeCase()}}_android.dart (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/pubspec.yaml (100%) rename brick/__brick__/{ => {{#android}}{{project_name.snakeCase()}}_android{{/android}}}/{{project_name.snakeCase()}}_android/test/{{project_name.snakeCase()}}_android_test.dart (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/LICENSE (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/README.md (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.h (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.m (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/ios/{{project_name.snakeCase()}}_ios.podspec (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/lib/{{project_name.snakeCase()}}_ios.dart (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/pubspec.yaml (100%) rename brick/__brick__/{ => {{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}}/{{project_name.snakeCase()}}_ios/test/{{project_name.snakeCase()}}_ios_test.dart (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/.gitignore (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/LICENSE (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/README.md (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/analysis_options.yaml (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/lib/src/{{project_name.snakeCase()}}_linux.dart (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/lib/{{project_name.snakeCase()}}_linux.dart (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/linux/.gitignore (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/linux/CMakeLists.txt (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/linux/include/{{project_name.snakeCase()}}_linux/{{project_name.snakeCase()}}_plugin.h (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/linux/{{project_name.snakeCase()}}_linux_plugin.cc (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/pubspec.yaml (100%) rename brick/__brick__/{ => {{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}}/{{project_name.snakeCase()}}_linux/test/{{project_name.snakeCase()}}_linux_test.dart (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/.gitignore (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/LICENSE (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/README.md (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/analysis_options.yaml (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/lib/{{project_name.snakeCase()}}_macos.dart (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/macos/Classes/{{project_name.pascalCase()}}Plugin.swift (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/macos/{{project_name.snakeCase()}}_macos.podspec (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/pubspec.yaml (100%) rename brick/__brick__/{ => {{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}}/{{project_name.snakeCase()}}_macos/test/{{project_name.snakeCase()}}_macos_test.dart (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/.gitignore (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/LICENSE (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/README.md (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/analysis_options.yaml (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/lib/{{project_name.snakeCase()}}_web.dart (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/pubspec.yaml (100%) rename brick/__brick__/{ => {{#web}}{{project_name.snakeCase()}}_web{{/web}}}/{{project_name.snakeCase()}}_web/test/{{project_name.snakeCase()}}_web_test.dart (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/.gitignore (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/.metadata (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/CHANGELOG.md (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/LICENSE (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/README.md (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/analysis_options.yaml (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/lib/{{project_name.snakeCase()}}_windows.dart (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/pubspec.yaml (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/test/{{project_name.snakeCase()}}_windows_test.dart (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/windows/.gitignore (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/windows/CMakeLists.txt (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/windows/include/{{project_name.snakeCase()}}_windows/{{project_name.snakeCase()}}_windows.h (100%) rename brick/__brick__/{ => {{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}}/{{project_name.snakeCase()}}_windows/windows/{{project_name.snakeCase()}}_windows_plugin.cpp (100%) diff --git a/brick/__brick__/static/{{~ plugin_dependencies.dart }} b/brick/__brick__/static/{{~ plugin_dependencies.dart }} new file mode 100644 index 0000000..672b426 --- /dev/null +++ b/brick/__brick__/static/{{~ plugin_dependencies.dart }} @@ -0,0 +1,14 @@ +{{#android}} {{project_name.snakeCase()}}_android: + path: ../{{project_name.snakeCase()}}_android{{/android}}{{#ios}} + {{project_name.snakeCase()}}_ios: + path: ../{{project_name.snakeCase()}}_ios{{/ios}}{{#linux}} + {{project_name.snakeCase()}}_linux: + path: ../{{project_name.snakeCase()}}_linux{{/linux}}{{#macos}} + {{project_name.snakeCase()}}_macos: + path: ../{{project_name.snakeCase()}}_macos{{/macos}} + {{project_name.snakeCase()}}_platform_interface: + path: ../{{project_name.snakeCase()}}_platform_interface{{#web}} + {{project_name.snakeCase()}}_web: + path: ../{{project_name.snakeCase()}}_web{{/web}}{{#windows}} + {{project_name.snakeCase()}}_windows: + path: ../{{project_name.snakeCase()}}_windows{{/windows}} \ No newline at end of file diff --git a/brick/__brick__/static/{{~ plugin_platforms.dart }} b/brick/__brick__/static/{{~ plugin_platforms.dart }} new file mode 100644 index 0000000..3139285 --- /dev/null +++ b/brick/__brick__/static/{{~ plugin_platforms.dart }} @@ -0,0 +1,17 @@ +flutter: + plugin: + platforms:{{#android}} + {{project_name.snakeCase()}}_android: + path: ../{{project_name.snakeCase()}}_android{{/android}}{{#ios}} + {{project_name.snakeCase()}}_ios: + path: ../{{project_name.snakeCase()}}_ios{{/ios}}{{#linux}} + {{project_name.snakeCase()}}_linux: + path: ../{{project_name.snakeCase()}}_linux{{/linux}}{{#macos}} + {{project_name.snakeCase()}}_macos: + path: ../{{project_name.snakeCase()}}_macos{{/macos}} + {{project_name.snakeCase()}}_platform_interface: + path: ../{{project_name.snakeCase()}}_platform_interface{{#web}} + {{project_name.snakeCase()}}_web: + path: ../{{project_name.snakeCase()}}_web{{/web}}{{#windows}} + {{project_name.snakeCase()}}_windows: + path: ../{{project_name.snakeCase()}}_windows{{/windows}} \ No newline at end of file diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/CHANGELOG.md b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/CHANGELOG.md rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/LICENSE b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/LICENSE rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/README.md b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/README.md rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/android/.gitignore b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/android/.gitignore rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/android/build.gradle b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/build.gradle similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/android/build.gradle rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/build.gradle diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/android/settings.gradle b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/settings.gradle similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/android/settings.gradle rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/settings.gradle diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/android/src/main/AndroidManifest.xml b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/src/main/AndroidManifest.xml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/android/src/main/AndroidManifest.xml rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/src/main/AndroidManifest.xml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/android/src/main/kotlin/{{org_name.pathCase()}}/{{project_name.pascalCase()}}Plugin.kt b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/src/main/kotlin/{{org_name.pathCase()}}/{{project_name.pascalCase()}}Plugin.kt similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/android/src/main/kotlin/{{org_name.pathCase()}}/{{project_name.pascalCase()}}Plugin.kt rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/android/src/main/kotlin/{{org_name.pathCase()}}/{{project_name.pascalCase()}}Plugin.kt diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/lib/{{project_name.snakeCase()}}_android.dart b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/lib/{{project_name.snakeCase()}}_android.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/lib/{{project_name.snakeCase()}}_android.dart rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/lib/{{project_name.snakeCase()}}_android.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/pubspec.yaml b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/pubspec.yaml rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_android/test/{{project_name.snakeCase()}}_android_test.dart b/brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/test/{{project_name.snakeCase()}}_android_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_android/test/{{project_name.snakeCase()}}_android_test.dart rename to brick/__brick__/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/{{project_name.snakeCase()}}_android/test/{{project_name.snakeCase()}}_android_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/CHANGELOG.md b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/CHANGELOG.md rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/LICENSE b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/LICENSE rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/README.md b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/README.md rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.h b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.h similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.h rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.h diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.m b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.m similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.m rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/Classes/{{project_name.pascalCase()}}Plugin.m diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/ios/{{project_name.snakeCase()}}_ios.podspec b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/{{project_name.snakeCase()}}_ios.podspec similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/ios/{{project_name.snakeCase()}}_ios.podspec rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/ios/{{project_name.snakeCase()}}_ios.podspec diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/lib/{{project_name.snakeCase()}}_ios.dart b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/lib/{{project_name.snakeCase()}}_ios.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/lib/{{project_name.snakeCase()}}_ios.dart rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/lib/{{project_name.snakeCase()}}_ios.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/pubspec.yaml b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/pubspec.yaml rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_ios/test/{{project_name.snakeCase()}}_ios_test.dart b/brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/test/{{project_name.snakeCase()}}_ios_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_ios/test/{{project_name.snakeCase()}}_ios_test.dart rename to brick/__brick__/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/{{project_name.snakeCase()}}_ios/test/{{project_name.snakeCase()}}_ios_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/.gitignore b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/.gitignore rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/CHANGELOG.md b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/CHANGELOG.md rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/LICENSE b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/LICENSE rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/README.md b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/README.md rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/analysis_options.yaml b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/analysis_options.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/analysis_options.yaml rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/analysis_options.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/lib/src/{{project_name.snakeCase()}}_linux.dart b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/lib/src/{{project_name.snakeCase()}}_linux.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/lib/src/{{project_name.snakeCase()}}_linux.dart rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/lib/src/{{project_name.snakeCase()}}_linux.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/lib/{{project_name.snakeCase()}}_linux.dart b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/lib/{{project_name.snakeCase()}}_linux.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/lib/{{project_name.snakeCase()}}_linux.dart rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/lib/{{project_name.snakeCase()}}_linux.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/linux/.gitignore b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/linux/.gitignore rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/linux/CMakeLists.txt b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/CMakeLists.txt similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/linux/CMakeLists.txt rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/CMakeLists.txt diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/linux/include/{{project_name.snakeCase()}}_linux/{{project_name.snakeCase()}}_plugin.h b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/include/{{project_name.snakeCase()}}_linux/{{project_name.snakeCase()}}_plugin.h similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/linux/include/{{project_name.snakeCase()}}_linux/{{project_name.snakeCase()}}_plugin.h rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/include/{{project_name.snakeCase()}}_linux/{{project_name.snakeCase()}}_plugin.h diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/linux/{{project_name.snakeCase()}}_linux_plugin.cc b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/{{project_name.snakeCase()}}_linux_plugin.cc similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/linux/{{project_name.snakeCase()}}_linux_plugin.cc rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/linux/{{project_name.snakeCase()}}_linux_plugin.cc diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/pubspec.yaml b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/pubspec.yaml rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_linux/test/{{project_name.snakeCase()}}_linux_test.dart b/brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/test/{{project_name.snakeCase()}}_linux_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_linux/test/{{project_name.snakeCase()}}_linux_test.dart rename to brick/__brick__/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/{{project_name.snakeCase()}}_linux/test/{{project_name.snakeCase()}}_linux_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/.gitignore b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/.gitignore rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/CHANGELOG.md b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/CHANGELOG.md rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/LICENSE b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/LICENSE rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/README.md b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/README.md rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/analysis_options.yaml b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/analysis_options.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/analysis_options.yaml rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/analysis_options.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/lib/{{project_name.snakeCase()}}_macos.dart b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/lib/{{project_name.snakeCase()}}_macos.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/lib/{{project_name.snakeCase()}}_macos.dart rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/lib/{{project_name.snakeCase()}}_macos.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/macos/Classes/{{project_name.pascalCase()}}Plugin.swift b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/macos/Classes/{{project_name.pascalCase()}}Plugin.swift similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/macos/Classes/{{project_name.pascalCase()}}Plugin.swift rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/macos/Classes/{{project_name.pascalCase()}}Plugin.swift diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/macos/{{project_name.snakeCase()}}_macos.podspec b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/macos/{{project_name.snakeCase()}}_macos.podspec similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/macos/{{project_name.snakeCase()}}_macos.podspec rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/macos/{{project_name.snakeCase()}}_macos.podspec diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/pubspec.yaml b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/pubspec.yaml rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_macos/test/{{project_name.snakeCase()}}_macos_test.dart b/brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/test/{{project_name.snakeCase()}}_macos_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_macos/test/{{project_name.snakeCase()}}_macos_test.dart rename to brick/__brick__/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/{{project_name.snakeCase()}}_macos/test/{{project_name.snakeCase()}}_macos_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/.gitignore b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/.gitignore rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/CHANGELOG.md b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/CHANGELOG.md rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/LICENSE b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/LICENSE rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/README.md b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/README.md rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/analysis_options.yaml b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/analysis_options.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/analysis_options.yaml rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/analysis_options.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/lib/{{project_name.snakeCase()}}_web.dart b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/lib/{{project_name.snakeCase()}}_web.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/lib/{{project_name.snakeCase()}}_web.dart rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/lib/{{project_name.snakeCase()}}_web.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/pubspec.yaml b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/pubspec.yaml rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_web/test/{{project_name.snakeCase()}}_web_test.dart b/brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/test/{{project_name.snakeCase()}}_web_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_web/test/{{project_name.snakeCase()}}_web_test.dart rename to brick/__brick__/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/{{project_name.snakeCase()}}_web/test/{{project_name.snakeCase()}}_web_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/.gitignore b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/.gitignore rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/.metadata b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/.metadata similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/.metadata rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/.metadata diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/CHANGELOG.md b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/CHANGELOG.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/CHANGELOG.md rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/CHANGELOG.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/LICENSE b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/LICENSE similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/LICENSE rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/LICENSE diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/README.md b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/README.md similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/README.md rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/README.md diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/analysis_options.yaml b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/analysis_options.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/analysis_options.yaml rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/analysis_options.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/lib/{{project_name.snakeCase()}}_windows.dart b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/lib/{{project_name.snakeCase()}}_windows.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/lib/{{project_name.snakeCase()}}_windows.dart rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/lib/{{project_name.snakeCase()}}_windows.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/pubspec.yaml b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/pubspec.yaml similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/pubspec.yaml rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/pubspec.yaml diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/test/{{project_name.snakeCase()}}_windows_test.dart b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/test/{{project_name.snakeCase()}}_windows_test.dart similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/test/{{project_name.snakeCase()}}_windows_test.dart rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/test/{{project_name.snakeCase()}}_windows_test.dart diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/windows/.gitignore b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/.gitignore similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/windows/.gitignore rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/.gitignore diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/windows/CMakeLists.txt b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/CMakeLists.txt similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/windows/CMakeLists.txt rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/CMakeLists.txt diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/windows/include/{{project_name.snakeCase()}}_windows/{{project_name.snakeCase()}}_windows.h b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/include/{{project_name.snakeCase()}}_windows/{{project_name.snakeCase()}}_windows.h similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/windows/include/{{project_name.snakeCase()}}_windows/{{project_name.snakeCase()}}_windows.h rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/include/{{project_name.snakeCase()}}_windows/{{project_name.snakeCase()}}_windows.h diff --git a/brick/__brick__/{{project_name.snakeCase()}}_windows/windows/{{project_name.snakeCase()}}_windows_plugin.cpp b/brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/{{project_name.snakeCase()}}_windows_plugin.cpp similarity index 100% rename from brick/__brick__/{{project_name.snakeCase()}}_windows/windows/{{project_name.snakeCase()}}_windows_plugin.cpp rename to brick/__brick__/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/{{project_name.snakeCase()}}_windows/windows/{{project_name.snakeCase()}}_windows_plugin.cpp diff --git a/brick/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/brick/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index 1608e66..8064ec2 100644 --- a/brick/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/brick/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -7,39 +7,12 @@ environment: sdk: ">=2.16.0 <3.0.0" flutter: ">=2.10.0" -flutter: - plugin: - platforms: - android: - default_package: {{project_name.snakeCase()}}_android - ios: - default_package: {{project_name.snakeCase()}}_ios - macos: - default_package: {{project_name.snakeCase()}}_macos - linux: - default_package: {{project_name.snakeCase()}}_linux - web: - default_package: {{project_name.snakeCase()}}_web - windows: - default_package: {{project_name.snakeCase()}}_windows +{{> plugin_platforms.dart }} dependencies: flutter: sdk: flutter - {{project_name.snakeCase()}}_android: - path: ../{{project_name.snakeCase()}}_android - {{project_name.snakeCase()}}_ios: - path: ../{{project_name.snakeCase()}}_ios - {{project_name.snakeCase()}}_linux: - path: ../{{project_name.snakeCase()}}_linux - {{project_name.snakeCase()}}_macos: - path: ../{{project_name.snakeCase()}}_macos - {{project_name.snakeCase()}}_platform_interface: - path: ../{{project_name.snakeCase()}}_platform_interface - {{project_name.snakeCase()}}_web: - path: ../{{project_name.snakeCase()}}_web - {{project_name.snakeCase()}}_windows: - path: ../{{project_name.snakeCase()}}_windows +{{> plugin_dependencies.dart }} dev_dependencies: flutter_test: