Rename projects to path names (#1240)
This commit is contained in:
parent
d7e1e2a448
commit
988be5901b
|
@ -50,8 +50,7 @@ jobs:
|
||||||
ALIAS: ${{ secrets.ALIAS }}
|
ALIAS: ${{ secrets.ALIAS }}
|
||||||
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
KEY_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
KEY_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
with:
|
run: ./gradlew -p src assembleRelease
|
||||||
arguments: assembleRelease
|
|
||||||
|
|
||||||
- name: Upload APKs
|
- name: Upload APKs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
@ -14,16 +14,12 @@ loadAllIndividualExtensions()
|
||||||
fun loadAllIndividualExtensions() {
|
fun loadAllIndividualExtensions() {
|
||||||
File(rootDir, "src").eachDir { dir ->
|
File(rootDir, "src").eachDir { dir ->
|
||||||
dir.eachDir { subdir ->
|
dir.eachDir { subdir ->
|
||||||
val name = ":extensions:individual:${dir.name}:${subdir.name}"
|
include("src:${dir.name}:${subdir.name}")
|
||||||
include(name)
|
|
||||||
project(name).projectDir = File("src/${dir.name}/${subdir.name}")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fun loadIndividualExtension(lang: String, name: String) {
|
fun loadIndividualExtension(lang: String, name: String) {
|
||||||
val projectName = ":extensions:individual:$lang:$name"
|
include("src:${lang}:${name}")
|
||||||
include(projectName)
|
|
||||||
project(projectName).projectDir = File("src/${lang}/${name}")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun File.getChunk(chunk: Int, chunkSize: Int): List<File>? {
|
fun File.getChunk(chunk: Int, chunkSize: Int): List<File>? {
|
||||||
|
|
Loading…
Reference in New Issue