From 988be5901b907ff365c4e8f05697a54c6977a171 Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:59:46 +0000 Subject: [PATCH] Rename projects to path names (#1240) --- .github/workflows/build_push.yml | 3 +-- settings.gradle.kts | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 3e37c429f..7f3ba6eaa 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -50,8 +50,7 @@ jobs: ALIAS: ${{ secrets.ALIAS }} KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} KEY_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} - with: - arguments: assembleRelease + run: ./gradlew -p src assembleRelease - name: Upload APKs uses: actions/upload-artifact@v3 diff --git a/settings.gradle.kts b/settings.gradle.kts index 0ecf04430..18932239c 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -14,16 +14,12 @@ loadAllIndividualExtensions() fun loadAllIndividualExtensions() { File(rootDir, "src").eachDir { dir -> dir.eachDir { subdir -> - val name = ":extensions:individual:${dir.name}:${subdir.name}" - include(name) - project(name).projectDir = File("src/${dir.name}/${subdir.name}") + include("src:${dir.name}:${subdir.name}") } } } fun loadIndividualExtension(lang: String, name: String) { - val projectName = ":extensions:individual:$lang:$name" - include(projectName) - project(projectName).projectDir = File("src/${lang}/${name}") + include("src:${lang}:${name}") } fun File.getChunk(chunk: Int, chunkSize: Int): List? {