[JAVA] What is Gradle's Artifact?

Make a note because I forget it every time.

What is Artifact?

This is to allow the project to be uniquely referenced. I think it's often the name of a project or library.

Java library management is done by domain name and Artifact, and the file name is a concatenation of each. Therefore, if you want to distribute a library called foo-library from a company that owns a domain called example.com

└── example
    └── foo-library

It becomes the form. Also, in the Gradle configuration file build.gradle, the domain part

group = 'com.example'

Is described.

Then what is Name?

Gradle allows you to combine multiple projects into a single project file. The alias used at that time. So, in a single project, I think it's the same as Artifact.


About Artifact

Artifact A file or directory produced by a build, such as a JAR, a ZIP distribution, or a native executable.

Artifacts are typically designed to be used or consumed by users or other projects, or deployed to hosting systems. In such cases, the artifact is a single file. Directories are common in the case of inter-project dependencies to avoid the cost of producing the publishable artifact. https://docs.gradle.org/current/userguide/dependency_management_terminology.html#sub:terminology_artifact

How to put together multiple projects

-Basics of multi-project with Gradle | Makumaku Gradle Note -Multi-project with Gradle-Qiita

Recommended Posts

What is Gradle's Artifact?
What is Cubby
What is Docker?
What is null? ]
What is java
What is Keycloak
What is maven?
What is Jackson?
What is Docker
What is self
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Facade? ??
What is Gradle?
What is POJO
What is Java
What is centOS
What is programming?
What is before_action?
What is Docker
What is Byte?
What is Tomcat
What is Maven Assembly?
What is `docker-compose up`?
What is a constructor?
What is vue cli
What is an interface?
What is Ruby's self?
What is hard coding?
What is a stream
What is Ruby's attr_accessor?
What is Java Encapsulation?
What is instance control?
What is an initializer?
What is Spring Tools 4
What is an operator?
What is object orientation?
What is Guava's @VisibleForTesting?
What is MVC model?
What is an annotation?
What is Java technology?
What is Java API-java
What is @ (instance variable)?
What is JPA Auditing?
[Swift] What is dismiss?
[Java] What is flatMap?
What is a Servlet?
What is web development?
[Java] What is JavaBeans?
[Android] What is Context? ??
[Java] What is ArrayList?
[Ruby] What is true?
What is object-oriented after all?
What is HttpSession session = request.getSession ();
What is docker run -it?
What is Java Assertion? Summary.
[Memorandum] What is an error?
What is DI (Dependency Injection)
What is a wrapper class?