From 13778e516fb951b69bdb86d88b27e3c26fbd8823 Mon Sep 17 00:00:00 2001 From: Mikhael Danilov Date: Sat, 4 Jan 2025 22:57:53 +0300 Subject: [PATCH] Very own settings.android.gradle for apk build --- .github/workflows/action.yml | 2 +- settings.android.gradle | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 settings.android.gradle diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index c5a2c95d8..4b3eeee5f 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -27,7 +27,7 @@ jobs: run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew assembleAndroidFdroidRelease + run: ./gradlew assembleAndroidFdroidRelease -c settings.android.gradle - name: Upload APK uses: actions/upload-artifact@v4 diff --git a/settings.android.gradle b/settings.android.gradle new file mode 100644 index 000000000..62e0bbae0 --- /dev/null +++ b/settings.android.gradle @@ -0,0 +1,16 @@ +include ':processor', ':annotation', ':json_clone' + +// Example project-level settings.gradle +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.PREFER_PROJECT) + repositories { + mavenCentral() + google() + maven { + url "https://artifactory-external.vkpartner.ru/artifactory/maven" + } + maven { url "https://artifactory.appodeal.com/appodeal/" } + maven { url 'https://developer.huawei.com/repo/' } + } +} +include ':RemixedDungeon'