Rename projects to path names (#1240)
This commit is contained in:
parent
d7e1e2a448
commit
988be5901b
|
@ -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
|
||||
|
|
|
@ -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<File>? {
|
||||
|
|
Loading…
Reference in New Issue