diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..7b163d07 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +enable-beta-ecosystems: true +updates: + - package-ecosystem: "gradle" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + commit-message: + # Prefix all commit messages with "Changed: " + prefix: "Changed" + rebase-strategy: "disabled" + + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + commit-message: + # Prefix all commit messages with "Changed: " + prefix: "Changed" + rebase-strategy: "disabled" \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..be964b42 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,42 @@ +name: AntiSplit-M Build +permissions: + contents: write + +on: + pull_request: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Set up JDK 17 + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '17' + + - name: Make gradlew executable + run: chmod +x ./gradlew + + - name: Build APK + run: ./gradlew assembleDebug --warning-mode all + + - name: Upload Gradle Problem Report + uses: actions/upload-artifact@v7 + with: + name: gradle-problem-report-${{ matrix.build_type }}-${{ github.run_id }} + path: build/reports/problems/ + if-no-files-found: warn + + - name: Upload APK + uses: actions/upload-artifact@v7 + with: + name: AntiSplit-M-apk-debug-${{ github.run_id }} + path: app/build/outputs/apk/debug/app-debug.apk \ No newline at end of file diff --git a/.github/workflows/update_release.yml b/.github/workflows/update_release.yml new file mode 100644 index 00000000..e0219746 --- /dev/null +++ b/.github/workflows/update_release.yml @@ -0,0 +1,37 @@ +name: Build & Publish APK (Debug) + +on: + push: + tags: + - '*' + +jobs: + build: + permissions: + contents: write + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Set up JDK 17 + uses: actions/setup-java@v5 + with: + java-version: 17 + distribution: temurin + + - name: Make Gradle executable + run: chmod +x ./gradlew + + - name: Build Debug APK + run: ./gradlew assembleDebug + + - name: Create GitHub Release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' + with: + generate_release_notes: true + prerelease: false + files: | + app/build/outputs/apk/debug/app-debug.apk \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d33521..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index df710e3b..00000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -AntiSplit M \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index b589d56e..00000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c3383..00000000 --- a/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml deleted file mode 100644 index b268ef36..00000000 --- a/.idea/deploymentTargetSelector.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml deleted file mode 100644 index cb865f69..00000000 --- a/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml deleted file mode 100644 index f8051a6f..00000000 --- a/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index b7b9c5a0..00000000 Binary files a/.idea/misc.xml and /dev/null differ diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 16660f1d..00000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index d2e01075..e2683329 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("com.android.application") version "9.0.0-rc03" apply false + id("com.android.application") version "9.3.0-alpha05" apply false }