Skip to content

Commit

Permalink
Migrate project to kmp #7 from ThomasBernard03/kmp
Browse files Browse the repository at this point in the history
Migrate project to kmp
  • Loading branch information
ThomasBernard03 authored Jul 30, 2024
2 parents f568ea6 + bbf346c commit 2a5e1e8
Show file tree
Hide file tree
Showing 260 changed files with 4,443 additions and 1,677 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,17 @@ jobs:
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: ./gradlew assembleRelease bundleRelease --stacktrace

- name: Find APK and AAB files
id: find_files
run: |
APK_PATH=$(find . -name "app-release.apk" | head -n 1)
AAB_PATH=$(find . -name "app-release.aab" | head -n 1)
echo "APK_PATH=$APK_PATH" >> $GITHUB_ENV
echo "AAB_PATH=$AAB_PATH" >> $GITHUB_ENV
- name: Upload APK to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: ${{ env.APK_PATH }}
path: composeApp/build/outputs/apk/release/composeApp-release.apk

- name: Upload AAB to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.aab
path: ${{ env.AAB_PATH }}
path: composeApp/build/outputs/bundle/release/composeApp-release.aab

test:
runs-on: ubuntu-latest
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,25 @@ jobs:
run: |
echo $ENCODED_STRING > keystore-b64.txt
base64 -d keystore-b64.txt > Keystore
- name: Build Release apk and aab
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: ./gradlew assembleRelease bundleRelease --stacktrace

- name: Find APK and AAB files
id: find_files
run: |
APK_PATH=$(find . -name "app-release.apk" | head -n 1)
AAB_PATH=$(find . -name "app-release.aab" | head -n 1)
echo "APK_PATH=$APK_PATH" >> $GITHUB_ENV
echo "AAB_PATH=$AAB_PATH" >> $GITHUB_ENV
- name: Upload APK to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: ${{ env.APK_PATH }}
path: composeApp/build/outputs/apk/release/composeApp-release.apk

- name: Upload AAB to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.aab
path: ${{ env.AAB_PATH }}
path: composeApp/build/outputs/bundle/release/composeApp-release.aab

test:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@
local.properties
Keystore
/app/release
/.kotlin
/shared/build
/composeApp/build
/composeApp/build
/composeApp/build
/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata
*.apk
/composeApp/release
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@
</p>


[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
alt="Download from Google Play" height="100">](https://play.google.com/store/apps/details?id=fr.thomasbernard03.tarot)
[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
alt="Download from Google Play" height="100">](https://play.google.com/store/apps/details?id=fr.thomasbernard03.tarot)

- Features
- [x] 3 players games
- [ ] 4 players games
- [x] 5 players games
- [ ] New design for round screen
- [ ] Migration to KMP (For iOS Version)
- [x] Database
- [ ] DI
- [ ] Play store publication


Expand Down
1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

104 changes: 0 additions & 104 deletions app/build.gradle.kts

This file was deleted.

25 changes: 0 additions & 25 deletions app/proguard-rules.pro

This file was deleted.

This file was deleted.

This file was deleted.

54 changes: 0 additions & 54 deletions app/src/main/java/fr/thomasbernard03/tarot/commons/Constants.kt

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2a5e1e8

Please sign in to comment.