Skip to content

build(gradle): Use TinyJib instead of Jib#4513

Draft
sschuberth wants to merge 2 commits intoeclipse-apoapsis:mainfrom
doubleopen-project:tiny-jib
Draft

build(gradle): Use TinyJib instead of Jib#4513
sschuberth wants to merge 2 commits intoeclipse-apoapsis:mainfrom
doubleopen-project:tiny-jib

Conversation

@sschuberth
Copy link
Contributor

TinyJib is a modern, streamlined drop-in replacement for Jib, written in Kotlin. I fixes the long-standing issue with Jib not being compatible with Gradle's configuration cache 1, while dropping some legacy features 2.

@sschuberth
Copy link
Contributor Author

Hmm, looks like some properties also need to be adjusted.

@sschuberth
Copy link
Contributor Author

Hmm, looks like some properties also need to be adjusted.

Ah, I missed the "No support for property-based configuration" part from here 😬.

@pschichtel
Copy link

pschichtel commented Feb 17, 2026

tiny-jib does not itself read any properties, if you want to keep using jib's properties for dynamic configuration you can explicitly use Project.findProperty(String):Any? and friends for the properties you need.

@pschichtel

This comment was marked as resolved.

@sschuberth
Copy link
Contributor Author

if you want to keep using jib's properties for dynamic configuration you can explicitly use Project.findProperty(String):Any?

Actually, I guess I have to use System.getProperty() instead, as -D configures system properties (whereas -P would configure project properties).

sschuberth added a commit to doubleopen-project/ort-server that referenced this pull request Feb 19, 2026
This should be be necessary as the author of TinyJib "didn't wire through
any logging to jib, so it should be pretty silent" [1].

[1]: eclipse-apoapsis#4513 (comment)

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
sschuberth added a commit to doubleopen-project/ort-server that referenced this pull request Feb 19, 2026
This should be be necessary as the author of TinyJib "didn't wire through
any logging to jib, so it should be pretty silent" [1].

[1]: eclipse-apoapsis#4513 (comment)

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
sschuberth added a commit to doubleopen-project/ort-server that referenced this pull request Feb 19, 2026
This should be be necessary as the author of TinyJib "didn't wire through
any logging to jib, so it should be pretty silent" [1].

[1]: eclipse-apoapsis#4513 (comment)

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
TinyJib is a modern, streamlined drop-in replacement for Jib, written in
Kotlin. I fixes the long-standing issue with Jib not being compatible
with Gradle's configuration cache [1], while dropping some legacy features
[2].

[1]: GoogleContainerTools/jib#3132 (comment)
[2]: https://github.com/pschichtel/tiny-jib?tab=readme-ov-file#features

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
This should be be necessary as the author of TinyJib "didn't wire through
any logging to jib, so it should be pretty silent" [1].

[1]: eclipse-apoapsis#4513 (comment)

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments