Better organize the loaded modules in Android Studio
This commit is contained in:
parent
f628cfefd8
commit
13c1b882c8
|
@ -7,7 +7,6 @@ jobs:
|
|||
check_wrapper:
|
||||
name: Validate Gradle Wrapper
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
|
@ -20,7 +19,6 @@ jobs:
|
|||
needs: check_wrapper
|
||||
if: "!startsWith(github.event.head_commit.message, '[SKIP CI]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -9,7 +9,6 @@ jobs:
|
|||
check_wrapper:
|
||||
name: Validate Gradle Wrapper
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
|
@ -22,7 +21,6 @@ jobs:
|
|||
needs: check_wrapper
|
||||
if: "!startsWith(github.event.head_commit.message, '[SKIP CI]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel previous runs
|
||||
uses: styfle/cancel-workflow-action@0.5.0
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
name: Issue closer
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited, reopened]
|
||||
|
||||
jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -16,7 +16,7 @@ project(":multisrc").projectDir = File("multisrc")
|
|||
// Loads all extensions
|
||||
File(rootDir, "src").eachDir { dir ->
|
||||
dir.eachDir { subdir ->
|
||||
val name = ":${dir.name}-${subdir.name}"
|
||||
val name = ":individual:${dir.name}:${subdir.name}"
|
||||
include(name)
|
||||
project(name).projectDir = File("src/${dir.name}/${subdir.name}")
|
||||
}
|
||||
|
@ -24,13 +24,16 @@ File(rootDir, "src").eachDir { dir ->
|
|||
// Loads generated extensions from multisrc
|
||||
File(rootDir, "generated-src").eachDir { dir ->
|
||||
dir.eachDir { subdir ->
|
||||
val name = ":${dir.name}-${subdir.name}"
|
||||
val name = ":theme:${dir.name}:${subdir.name}"
|
||||
include(name)
|
||||
project(name).projectDir = File("generated-src/${dir.name}/${subdir.name}")
|
||||
}
|
||||
}
|
||||
|
||||
// Use this to load a single extension during development
|
||||
/**
|
||||
* If you're developing locally and only want to work with a single module,
|
||||
* comment out the parts above and uncomment below.
|
||||
*/
|
||||
// val lang = "all"
|
||||
// val name = "mmrcms"
|
||||
// include(":${lang}-${name}")
|
||||
|
|
Loading…
Reference in New Issue