I’m aware there is the ‘gradle’ plugin, but it’s not available with ‘base22’, so I’m invoking ./gradlew directly and build fails with ‘java.net.UnknownHostException: services.gradle.org’ when Gradle tries to download its distribution.
Interesting, it does look like a launchpad-specific connection issue.
It’s unfortunate that -Djava.net.useSystemProxies=true isn’t working, as seems like it was successful for other users in Services.gradle.org seems blocked on automated build
Looks like this option works only if the gradle plugin is applied which I cannot do since I’m relying on core22 which doesn’t support that gradle plugin.
I wanted to use Launchpad to build for the Arm64 architecture which I’m not in possesion of, seems I need to find it elsewhere…
This works well if the server builds the snap, but locally not:
/bin/bash: line 59: https_proxy: unbound variable
++ cut -d/ -f3
++ cut -d: -f1
+ https_proxy_host=
'override-build' in part 'geogebra-discovery' failed with code 1.
Review the scriptlet and make sure it's correct.
Anyway, this is okay for a temporary solution, thanks!