Skip to content

Commit

Permalink
Mobile app modularization complete.
Browse files Browse the repository at this point in the history
Former-commit-id: 1dad10d
  • Loading branch information
rhenwinch committed Jan 22, 2024
1 parent de28ba9 commit d7645e4
Show file tree
Hide file tree
Showing 708 changed files with 13,293 additions and 23,392 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
98 changes: 98 additions & 0 deletions .github/ISSUE_TEMPLATE/report_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Tachiyomi (RIP king!) issue template

name: 🐞 Issue report
description: Report an issue in Flixclusive
labels: [Bug]
body:

- type: textarea
id: reproduce-steps
attributes:
label: Steps to reproduce
description: Provide an example of the issue.
placeholder: |
Example:
1. First step
2. Second step
3. Issue here
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Explain what you should expect to happen.
placeholder: |
Example:
"This should happen..."
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: Explain what actually happens.
placeholder: |
Example:
"This happened instead..."
validations:
required: true

- type: textarea
id: crash-logs
attributes:
label: Crash logs (or stack trace)
placeholder: |
You can paste the crash logs in plain text or upload it as an attachment.
- type: input
id: flixclusive-version
attributes:
label: Flixclusive version
description: You can find your Flixclusive version in **Preferences → About Flixclusive**.
placeholder: |
Example: "1.2.1"
validations:
required: true

- type: input
id: android-version
attributes:
label: Android version
description: You can find this somewhere in your Android settings.
placeholder: |
Example: "Android 11"
validations:
required: true

- type: input
id: device
attributes:
label: Device
description: List your device and model.
placeholder: |
Example: "Google Pixel 5"
validations:
required: true

- type: textarea
id: other-details
attributes:
label: Other details
placeholder: |
Additional details and attachments.
- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
description: Please read carefully! Reading comprehension is rare nowadays.
options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open or closed issue.
required: true
- label: I have written a short but informative title.
required: true
- label: I have updated the app to the **[latest version](https://github.com/rhenwinch/Flixclusive/releases/latest)**.
required: true
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/request_feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Tachiyomi (RIP king!) feature template

name: ⭐ Feature request
description: Suggest a feature to improve Flixclusive
labels: [Feature request]
body:

- type: textarea
id: feature-description
attributes:
label: Describe your suggested feature
description: How can Flixclusive be improved?
placeholder: |
Example:
"It should work like this..."
validations:
required: true

- type: textarea
id: other-details
attributes:
label: Other details
placeholder: |
Additional details and attachments.
75 changes: 75 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: GitHub Release with APKs

on:
push:
branches:
- 'master'
tags:
- 'v*'

concurrency:
group: "pre-release"
cancel-in-progress: true

jobs:
build:
name: Build app
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup Android SDK
run: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "build-tools;29.0.3"
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt

- name: Build Release
uses: gradle/gradle-command-action@v2
with:
arguments: ktlintCheck :app:assemblePrerelease :app:assembleRelease

- name: Get tag name
run: |
set -x
echo "VERSION_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Sign APK
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Clean up build artifacts=
run: |
set -e
mv app/build/outputs/apk/release/app-release.apk flixclusive-release.apk
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.VERSION_TAG }}
name: ${{ env.VERSION_TAG }}
body: |
---
**NOTE: Android TV is still unstable!! I advise not to use it yet**
### Updates for ${{ env.VERSION_TAG }}:
files: |
flixclusive-release.apk
draft: true
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
.externalNativeBuild
.cxx
local.properties
app/google-services.json
keystore.jks
36 changes: 0 additions & 36 deletions .idea/androidTestResultsUserPreferences.xml

This file was deleted.

21 changes: 17 additions & 4 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/discord.xml

This file was deleted.

28 changes: 26 additions & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d7645e4

Please sign in to comment.