unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70886: Packaging a gradle application
@ 2024-05-11 12:53 Noé Lopez via Bug reports for GNU Guix
  2024-05-12 18:57 ` Nicolas Graves via Bug reports for GNU Guix
  2024-05-13 21:09 ` Noé Lopez via Bug reports for GNU Guix
  0 siblings, 2 replies; 4+ messages in thread
From: Noé Lopez via Bug reports for GNU Guix @ 2024-05-11 12:53 UTC (permalink / raw)
  To: 70886

Hi Guix,

Today I thought I'd try to package Mindustry, a libre game I like made
in Java. It uses the gradle build system, and I couldn't find any
trace of gradle in the guix sources or mailing lists.

I only found some gradle packages being built with the ant-build-sytem,
so I tried that for a few hours but I can only get so far as Mindustry
uses some very specific gradle settings that I don't really know how to
replicate with the ant build system, because it is not very flexible.

Is there something stopping us from using gradle to build packages or
has it just not been done before ?

Thanks in advance
Noé Lopez




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70886: Packaging a gradle application
  2024-05-11 12:53 bug#70886: Packaging a gradle application Noé Lopez via Bug reports for GNU Guix
@ 2024-05-12 18:57 ` Nicolas Graves via Bug reports for GNU Guix
  2024-05-12 19:13   ` Julien Lepiller
  2024-05-13 21:09 ` Noé Lopez via Bug reports for GNU Guix
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Graves via Bug reports for GNU Guix @ 2024-05-12 18:57 UTC (permalink / raw)
  To: 70886; +Cc: julien


Hi Noé,

Regarding Gradle, IIRC, the main hinderance to get that into Guix is the
extremely costly bootstrap process through which its building blocks (in
particular recent Kotlin versions) can be built. 

The work on this is mainly done by Julien Lepiller in channel
guix-android :
https://framagit.org/tyreunom/guix-android/-/blob/master/android/packages/kotlin.scm

He managed to get kotlin v1.0.0 to work but there was another
hurdle IIRC, I can't tell you more, but maybe Julien can.

There's still quite some work to do before we're able to write and use a
gradle-build-system. If you have a lot of computer power, don't hesitate
to take a look there.

There's also more info disseminated in the mailing list.

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70886: Packaging a gradle application
  2024-05-12 18:57 ` Nicolas Graves via Bug reports for GNU Guix
@ 2024-05-12 19:13   ` Julien Lepiller
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Lepiller @ 2024-05-12 19:13 UTC (permalink / raw)
  To: Nicolas Graves, 70886

After 1.0.0, I'm able to build one more version, but it is not built properly, as it's not able to build ittelf or any other version. There's probably something wrong with one of the dependencies, but it's hard to say what and which one exactly.

One way to test would be to rebuild with the shipped jar dependencies and see if we can get further, then figure out which is responsible for the issue. It's very time consumming though.

Le 12 mai 2024 20:57:12 GMT+02:00, Nicolas Graves <ngraves@ngraves.fr> a écrit :
>
>Hi Noé,
>
>Regarding Gradle, IIRC, the main hinderance to get that into Guix is the
>extremely costly bootstrap process through which its building blocks (in
>particular recent Kotlin versions) can be built. 
>
>The work on this is mainly done by Julien Lepiller in channel
>guix-android :
>https://framagit.org/tyreunom/guix-android/-/blob/master/android/packages/kotlin.scm
>
>He managed to get kotlin v1.0.0 to work but there was another
>hurdle IIRC, I can't tell you more, but maybe Julien can.
>
>There's still quite some work to do before we're able to write and use a
>gradle-build-system. If you have a lot of computer power, don't hesitate
>to take a look there.
>
>There's also more info disseminated in the mailing list.
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70886: Packaging a gradle application
  2024-05-11 12:53 bug#70886: Packaging a gradle application Noé Lopez via Bug reports for GNU Guix
  2024-05-12 18:57 ` Nicolas Graves via Bug reports for GNU Guix
@ 2024-05-13 21:09 ` Noé Lopez via Bug reports for GNU Guix
  1 sibling, 0 replies; 4+ messages in thread
From: Noé Lopez via Bug reports for GNU Guix @ 2024-05-13 21:09 UTC (permalink / raw)
  To: 70886

Thank you both for your answers. I will try out the channel and see if I
can figure something out :)

I don’t have that much computing power with my little i3, I'm sure it
will manage lol. I suppose once kotlin is built I won't have to build it
again, unless it is itself packaged with gradle 😵‍💫. I'll keep you
updated once I make some progress, in the meanwhile we can probably
close this issue.

All the best,
Noé




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-13 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-11 12:53 bug#70886: Packaging a gradle application Noé Lopez via Bug reports for GNU Guix
2024-05-12 18:57 ` Nicolas Graves via Bug reports for GNU Guix
2024-05-12 19:13   ` Julien Lepiller
2024-05-13 21:09 ` Noé Lopez via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).