Repository navigation
Commit 878fc15
committed
Fix AGP 9 Android plugin detection
Use the androidComponents extension as the source of truth for Android plugin detection and AGP version checks, avoiding BaseExtension which no longer backs the AGP 9 DSL.
Remove obsolete BaseExtension-based helpers, cover AGP 9.2.1 in Android functional tests, and bump the project version to 1.0.0-alpha29.
Verified with :lightsaber:gradle-plugin:compileKotlin and :lightsaber:functionalTest --tests com.joom.lightsaber.plugin.AndroidLightsaberPluginTest --rerun-tasks.1 parent 7cb7593 commit 878fc15
4 files changed
Lines changed: 6 additions & 34 deletions
File tree
- gradle
- lightsaber
- gradle-plugin/src/main/java/com/joom/lightsaber/plugin
- src/functionalTest/java/com/joom/lightsaber/plugin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 39 | + | |
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
| |||
68 | 61 | | |
69 | 62 | | |
70 | 63 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 64 | + | |
82 | 65 | | |
83 | 66 | | |
84 | 67 | | |
| |||
89 | 72 | | |
90 | 73 | | |
91 | 74 | | |
92 | | - | |
| 75 | + | |
93 | 76 | | |
94 | 77 | | |
95 | 78 | | |
96 | 79 | | |
97 | 80 | | |
98 | 81 | | |
99 | 82 | | |
100 | | - | |
| 83 | + | |
101 | 84 | | |
102 | 85 | | |
103 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
| |||
70 | 62 | | |
71 | 63 | | |
72 | 64 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 65 | | |
78 | 66 | | |
79 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments