-
Notifications
You must be signed in to change notification settings - Fork 25
Project Structure
Shreyash Saitwal edited this page Mar 12, 2021
·
4 revisions
<extension-name>
┣━ .rush
┣━ assets 1️⃣
┣━ deps 2️⃣
┣━ src
┃ ┣━ com
┃ ┃ ┗━ company
┃ ┃ ┗━ <extensionname>
┃ ┃ ┗━ <ExtensionName>.java 6️⃣
┃ ┣━ AndroidManifest.xml 4️⃣
┃ ┗━ proguard-rules.pro 5️⃣
┣━ .gitignore
┣━ README.md
┗━ rush.yml 3️⃣
-
assets
directory- This is the place where you store all your extension's assets, including the icon.
-
deps
directory- This is the place where you store your extension's dependencies (JAR, AAR).
-
rush.yml
- This file is responsible for holding metadata about your extension, and hence, is also known as the metadata file.
- Check out this wiki to know more about
rush.yml
and the supported fields.
-
AndroidManifest.xml
- All the Android manifest tags required by your extension are defined here.
- Check out this wiki to know more about AndroidManifest.xml in Rush.
-
proguard-rules.pro
- This is where you define the ProGuard rules for your extension.
- For more info about ProGuard rules, check out the usage manual.
-
<Extension>.java
- This is your extension's source file. Currently, only Java is supported but Kotlin is planned as well.