Commit fb1edf8
committed
Gradle 8 / AGP 8 requires Java / Kotlin module
The top level gradle project needs a Java / Kotlin module, otherwise
it skipped publishing an .aar file. While there is no code, projects
consuming this SDK look for it.
* Maybe we can omit the .aar on in the future for this top level
project but keeping it working the same for now.
Built SDK with Java 17 and tested publishing with a staging build with:
* Java 11
* Gradle 7.3.3
* APG 7.2.2
* Android 5 & 14 Emulator
WARNING:
It is still recommended building with Java 17 instead of 21
when publishing, as those on older version of R8 will get this
build error:
* Cannot invoke "String.length()" because "<parameter1>" is null
* See https://stackoverflow.com/q/777881621 parent a3f3b95 commit fb1edf8
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments