Comments (3)
@blakeli0 @alicejli Could you help me review this issue? Many thanks :)
from jib.
First of all, you are not supposed to use or access BlobHttpContent
. The intention is that only those classes under the api
directiory are the public surface of the jib-core library.
(However, I admit I may not be understanding the gist of this issue.)
from jib.
@chanseokoh Thanks for your prompt reponese :).
Actually i'm mainly talking about the listed dependencies should be set to configuration api
instead of implementation
. The example of BlobHttpContent
is just showing possible consequence of wrong configuration. Below are gradle official doc on api
dependencies.
So when should you use the api configuration? An API dependency is one that contains at least one type that is exposed in the library binary interface, often referred to as its ABI (Application Binary Interface). This includes, but is not limited to:
- types used in super classes or interfaces
- types used in public method parameters, including generic parameter types (where public is something that is visible to compilers. I.e. , public, protected and package private members in the Java world)
- types used in public fields
- public annotation types
According to the doc, there are mainly four situations that the dependency should be set to api
. So, in the above issue body, I'm listing where these dependencis meet one of these criteria and thus should be set to api
.
from jib.
Related Issues (20)
- Is it possible to do the same thing through pom as jib-cli ? HOT 1
- Empty folders in the /app/resources directory slow down resource file scanning
- Jib Ubuntu and MacOS Continuous Builds are failing HOT 5
- Unauthorized error when Harbor redirects to official Docker Hub images HOT 2
- Automatically add standard oci annotations for base images
- Publish a release with #4204 HOT 3
- Upgrade ASM to 9.6 to support Java 22
- jvmFlags.add throws UnsupportedOperationException in gradle jib plugin
- Core Release v0.27.0-core
- Plugin Release v3.4.2-gradle
- Plugin Release v3.4.2-maven
- Jib CLI base image cache problem
- Jib CLI proxy usage not documented
- Jib 3.4.2 build fails HOT 22
- Jib MacOS Continuous job still experiencing failure with jetty
- Can't build multi arch images on M1 chips (Jib 3.4.1+) (Works on x64 chips) HOT 7
- Release jib cli v0.13.0 ? HOT 3
- CLI Release v0.13.0-cli
- Failing UP-TO-DATE checks for jib-gradle-plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jib.