GoogleChromeLabs / GoogleChromeLabs/bubblewrap

Separating project generation into @bubblewrap/core

Open
#501 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
3.1k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

The use case is using a Bubblewrap-generated project with a different build system (not Gradle).

Currently a big part of project generation resides in Gradle ([resources](https://github.com/GoogleChromeLabs/bubblewrap/blob/f48794d14d9c20892ed877574759f1b2b8b227ab/packages/core/template_project/app/build.gradle#L64-L150), [some manifest values](https://github.com/GoogleChromeLabs/bubblewrap/blob/f48794d14d9c20892ed877574759f1b2b8b227ab/packages/core/template_project/app/build.gradle#L59-L62), [shortcuts](https://github.com/GoogleChromeLabs/bubblewrap/blob/f48794d14d9c20892ed877574759f1b2b8b227ab/packages/core/template_project/app/build.gradle#L172-L205)), so you need an additional build step to finish creating a project usable with another build system, which makes it necessary to have JDK and Android SDK available at project generation time.

The resource files and Android manifest could be templated with lodash directly, bypassing Gradle. Is this something you'd be open to?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.