Skip to content

Commit

Permalink
Merge pull request #32 from nimblehq/feature/29-reuse-android-module-…
Browse files Browse the repository at this point in the history
…from-android-templates

[#29] 2/2 - Reuse the "android" module from android-templates
  • Loading branch information
phongvhd93 authored Oct 2, 2023
2 parents b69e044 + d745c42 commit b8b14cd
Show file tree
Hide file tree
Showing 90 changed files with 1,129 additions and 851 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,26 @@ jobs:
ref: ${{ github.head_ref }}
submodules: "recursive"

- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches/modules-*
~/.gradle/caches/jars-*
~/.gradle/caches/build-cache-*
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Install Kscript
run: |
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
source android/version.properties
sdk install kotlin $kotlinVersion
sdk install kscript $kscriptVersion
echo $PATH >> $GITHUB_PATH
# To avoid code change in git when refreshing the "sample" project
- name: Preserve the ArkanaKeys
run: mv -f ./sample/ios/ArkanaKeys ../
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "ios"]
path = ios
url = https://github.com/nimblehq/ios-templates.git
[submodule "android"]
path = android
url = [email protected]:nimblehq/android-templates.git
branch = feature/replace-hilt-with-koin
1 change: 1 addition & 0 deletions android
Submodule android added at 5cb0ea
5 changes: 0 additions & 5 deletions android/.gitignore

This file was deleted.

147 changes: 0 additions & 147 deletions android/build.gradle.kts

This file was deleted.

10 changes: 0 additions & 10 deletions android/src/debug/java/co/nimblehq/kmm/template/util/LogUtil.kt

This file was deleted.

22 changes: 0 additions & 22 deletions android/src/main/AndroidManifest.xml

This file was deleted.

19 changes: 0 additions & 19 deletions android/src/main/java/co/nimblehq/kmm/template/MainApplication.kt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b8b14cd

Please sign in to comment.