Closed linsui closed 1 month ago
Just let me check. Thanks for notifying me.
* What went wrong:
Could not determine the dependencies of task ':mahjong-utils-lib:mahjong-utils:compileKotlinJvm'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=11, vendor=any, implementation=vendor-specific} for LINUX on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
Is jdk 11 required?
Download https://download.jetbrains.com/kotlin/native/builds/releases/1.9.22/linux-x86_64/kotlin-native-prebuilt-linux-x86_64-1.9.22.tar.gz (198.18 MB)
Is this used for Android or wasm only?
Is jdk 11 required?
Seems that it use jdk11 but it's not necessary, I'll try to remove this constraint.
Is this used for Android or wasm only?
It's used for wasm only. I think it can be disabled by enviroments, it is possible to set enviroment in F-Droid build?
it is possible to set enviroment in F-Droid build?
Yes, but it would be easier to set the prop. :)
Yes, but it would be easier to set the prop. :)
Setting the prop maybe hard to approach because there's actually three gradle projects in their own repos, the prop will not be shared.
Anyway let me try to use environmnents and fix the build in fdroiddata
Which environment should I set?
It seems that if I disable the wasm build, apk signature will also be effected:
I didn't see this download message again since I upgrade Kotlin 2.0.20, I think we don't need to set the environments or props.
The kotlin-tooling-metadata.json file is affected by the wasm. You also need to disable it when you build your android apk so we can get the same apk. :)
solved, check this MR please https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15798
Thanks!
https://gitlab.com/linsui/fdroiddata/-/jobs/7827563491
Capturable uses some maven repo not allowed in F-Droid build. I removed them and the build failed. It seems those repos are only used for the wasm target. Is that used for Android?