Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915114 - dev-java/gradle: new package, Java build system
Summary: dev-java/gradle: new package, Java build system
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: needsGradle
  Show dependency tree
 
Reported: 2023-10-03 14:22 UTC by Kyle Rabago
Modified: 2024-01-06 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Rabago 2023-10-03 14:22:41 UTC
As stated in the summary, add, if possible a gradle ebuild to build gradle from source 

Reproducible: Always




If not possible could work be done to make more non-bin packages such as for things like kotlin, etc.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-03 14:24:18 UTC
I think Flow has some stuff in progress in the Java overlay right now combined with an eclass for this.

Surprised there's not some bug already for this though.
Comment 2 Kyle Rabago 2023-10-03 15:19:52 UTC
As far as I know all of the gradle (src built) ebuilds I have tried all fail for some reason or another even in the flow repo or java repo
Comment 3 Volkmar W. Pogatzki 2023-10-03 17:35:00 UTC
Maybe a suitable task for next gsoc?
Comment 4 Florian Schmaus gentoo-dev 2023-10-03 20:12:25 UTC
Back in 2013, when I started working on the gradle ebuilds and associated packages, like eselect-gradle, I tried to create source based ebuilds for gradle. That is why, for example, eselect-gradle, is designed so that also non gradle-bin binaries are selectable.

However, I never got source-based gradle ebuilds to work, and the gradle-bin ebuilds are sufficiently good enough for me. Especially considering that we are talking about a Java bytecode, which is going to get compiled at runtime anyway. 

That said, I would welcome source-based gradle ebuilds. The main problem is always the provisioning of the dependencies. Fortunately, ::pentoo has there something for ghidra, which we could look into re-using for source-based gradle ebuilds. Although, I'd like to add, that the task strikes me as a bit to advanced for GSoC.
Comment 5 Kyle Rabago 2023-11-01 14:03:05 UTC
(In reply to Florian Schmaus from comment #4)
> Back in 2013, when I started working on the gradle ebuilds and associated
> packages, like eselect-gradle, I tried to create source based ebuilds for
> gradle. That is why, for example, eselect-gradle, is designed so that also
> non gradle-bin binaries are selectable.
> 
> However, I never got source-based gradle ebuilds to work, and the gradle-bin
> ebuilds are sufficiently good enough for me. Especially considering that we
> are talking about a Java bytecode, which is going to get compiled at runtime
> anyway. 
> 
> That said, I would welcome source-based gradle ebuilds. The main problem is
> always the provisioning of the dependencies. Fortunately, ::pentoo has there
> something for ghidra, which we could look into re-using for source-based
> gradle ebuilds. Although, I'd like to add, that the task strikes me as a bit
> to advanced for GSoC.

 As far as I know building gradle is with gradle as far as the offical gradle docs on building from the github, however this build doesnt take into account alot of things such as dependecies as gradle will fetch them automatically unless specefied otherwise at least to my knowledge