diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..a46aa8b
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,68 @@
+name: Minimal Android CI Workflow
+
+on:
+ push:
+ branches:
+ - master
+ tags:
+ - 'v*'
+
+jobs:
+ test:
+ name: Run Unit Tests
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v1
+ - name: Setup JDK
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Run Tests
+ run: bash ./gradlew test --stacktrace
+ apk:
+ name: Generate APK
+ needs: test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v1
+ - name: Setup JDK
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Build APK
+ run: bash ./gradlew assembleDebug --stacktrace
+ - name: Upload APK
+ uses: actions/upload-artifact@v1
+ with:
+ name: apk
+ path: app/build/outputs/apk/debug/app-debug.apk
+ release:
+ name: Release APK
+ needs: apk
+ if: startsWith(github.ref, 'refs/tags/v')
+ runs-on: ubuntu-latest
+ steps:
+ - name: Download APK from build
+ uses: actions/download-artifact@v1
+ with:
+ name: apk
+ - name: Create Release
+ id: create_release
+ uses: actions/create-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: ${{ github.ref }}
+ release_name: Release ${{ github.ref }}
+ - name: Upload Release APK
+ id: upload_release_asset
+ uses: actions/upload-release-asset@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: apk/app-debug.apk
+ asset_name: MensaApp.apk
+ asset_content_type: application/zip
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..7280f00
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..0de4c05
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..8306744
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index c940e2d..f5f762b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 29
- buildToolsVersion "29.0.0"
+ compileSdkVersion 34
+ buildToolsVersion "34.0.0"
defaultConfig {
applicationId "de.onyxbits.listmyapps"
minSdkVersion 9
- targetSdkVersion 29
+ targetSdkVersion 34
}
buildTypes {
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7042c24..6b783fb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -106,4 +106,4 @@
browse
http://www.onyxbits.de/listmyapps/browse?suggest=%1$s
-
\ No newline at end of file
+
diff --git a/listmyapps.iml b/listmyapps.iml
new file mode 100644
index 0000000..5e8aecb
--- /dev/null
+++ b/listmyapps.iml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+