Posts Gradle 빌드 파일
Post
Cancel

Gradle 빌드 파일

Gradle Build

  • The initialization phase in the Gradle Build lifecycle finds the root project and subprojects included in your project root directory using the settings file.
  • Then, for each project included in the settings file, Gradle creates a Project instance.
  • Gradle then looks for a corresponding build script file, which is used in the configuration phase.

image

Build Script

  • Every Gradle build comprises one or more projects; a root project and subprojects.
  • A project typically corresponds to a software component that needs to be built, like a library or an application.
  • It might represent a library JAR, a web application, or a distribution ZIP assembled from the JARs produced by other projects.
  • On the other hand, it might represent a thing to be done, such as deploying your application to staging or production environments.
  • Gradle scripts are written in either Groovy DSL or Kotlin DSL (domain-specific language).
  • A build script configures a project and is associated with an object of type Project.
  • As the build script executes, it configures Project.

image

참고자료


  • https://docs.gradle.org/current/userguide/writing_build_scripts.html
This post is licensed under CC BY 4.0 by the author.

Gradle 빌드 라이프사이클

api를 호출해서 데이터를 가져오는 로직은 ItemReader에 ItemProcessor에 ?