This repository was archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit df0dfb5
author
authoredVadim Yaroschuk
refactor&feat: plugins-api update (#34)
* feat: `ProjectsManager` added (only as design proposal)
* refactor&chore: `Manager` -> `Container` renaming + updated api in order to #26
* fix: added annotation to suppress warning
* fix: added `data` to `Localized<T>` (it may occur some errors while equaling
* feat: added `strings` that contains app localization
* refactor: variable names changed
* refactor: `PluginApiManager` renamed into `PluginApiContainer`
* feat: added `register(T)` for adding templates
* refactor: `CodeeString` moved to `app-core` module
* fix: imports fixed
* feat: added implementations for `plugins-api`
* refactor: `themeContainer` -> `themes`
* refactor: imports fixed
* refactor: `Plugin` renamed into `PluginScope` & `metadata` moved into `MetadataScope`
* feat: added `DependenciesScope` for declaring external plugin dependencies.
* feat: added `CoroutineScope` and information about where exactly it works
* feat: added `kotlin-script` dependencies
* feat: added `plugins-loader` module
* refactor: `DependenciesScope` moved to `MetadataScope` as `dependencies`
* update: little changes
* fix: updated gradle version in order to android studio error (in bumblebee version)
* Feat#30 (#31)
* feat: added dependency resolver
* feat: added plugin files loaders
* feat: added plugin loader
* feat: added basic jvm host dependency
* refactor: changed extension of file definitions
* feat: added classpath adding to `main.plugin.kts`
* style&refactor: code style optimization & unnecessary imports removed
* refactor: hardcoded plugins replaced with constants
* feat: `plugins-loader` module converted to android library
* refactor: `MetadataScope` -> `ManifestScope`
* feat: `plugins-api` reimplemented
* refactor: `localizations` -> `registered`
* refactor: `all` -> `registered`
* feat: added shortcuts
* feat: classpath resolving added
* fix: added missing `PluginLocalizationContainer`
* fix: added missing `PluginLocalizationContainer`
* feat: plugin loading divided in interfaces and different implementations
* feat: added files api for plugins (#33)1 parent 923e29e commit df0dfb5
File tree
23 files changed
+453
-80
lines changed- app-core/src/main/java/com/codee/app/core
- internal
- plugins
- files
- plugins-api/src/main/kotlin/com/codee/app/plugins/api
- container
- files
- plugins-loader/src/main/java/com/codee/plugins/loader
23 files changed
+453
-80
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + |
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | + | ||
4 | + | ||
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
6 | 8 |
| |
9 | + | ||
10 | + | ||
7 | 11 |
| |
12 | + | ||
8 | 13 |
| |
9 | 14 |
| |
10 | 15 |
| |
11 | - | ||
16 | + | ||
12 | 17 |
| |
13 | 18 |
| |
14 | 19 |
| |
15 | 20 |
| |
16 | 21 |
| |
17 | 22 |
| |
18 | 23 |
| |
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
19 | 31 |
| |
20 | 32 |
|
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + |
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + |
Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + |
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | - | ||
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
35 | 41 |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + |
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + |
0 commit comments