Commit 8183cc4
committed
stage2/ml9: Fix merging of provided services into KFF
With kotlinx-metadata-jvm being promoted to stable in Kotlin 2.0, the
kotlin-reflect library now relies on a new service ([1]), the services
file for which wasn't yet present in older KFF versions.
And with the Java module system, which ModLauncher uses, merely merging
the service file from the newer Kotlin isn't enough, we also need to
merge them into KFF's module descriptor.
[1]:
https://github.com/JetBrains/kotlin/blob/4c61b7118f23a090a764a3aa07e4291e50210771/libraries/kotlinx-metadata/jvm/resources/META-INF/services/kotlin.metadata.internal.extensions.MetadataExtensions1 parent e173100 commit 8183cc4
File tree
1 file changed
+12
-1
lines changed- stage2/modlauncher9/src/main/java/gg/essential/loader/stage2
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
| |||
0 commit comments