classpath() — spring-boot Function Reference
Architecture documentation for the classpath() function in BootJar.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f716b505_786b_8a0f_3ef5_bdaf043f7d3b["classpath()"] 073b5c5b_d4f1_8dea_f6e8_ba349c56084b["configureBootJarTask()"] 073b5c5b_d4f1_8dea_f6e8_ba349c56084b -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b d3c9fba2_3df4_da80_1512_8110cf518cf7["configureBootRunTask()"] d3c9fba2_3df4_da80_1512_8110cf518cf7 -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b 913bf49c_9c07_df96_ce37_44e9a0f0678f["configureBootTestRunTask()"] 913bf49c_9c07_df96_ce37_44e9a0f0678f -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38["configureMainNativeBinaryClasspath()"] bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38 -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b 473fa5c9_c95e_850b_d980_3ec709d309aa["configureTestNativeBinaryClasspath()"] 473fa5c9_c95e_850b_d980_3ec709d309aa -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b style f716b505_786b_8a0f_3ef5_bdaf043f7d3b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java lines 192–197
@Override
public void classpath(Object... classpath) {
FileCollection existingClasspath = this.classpath;
this.classpath = getProject().files((existingClasspath != null) ? existingClasspath : Collections.emptyList(),
classpath);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does classpath() do?
classpath() is a function in the spring-boot codebase.
What calls classpath()?
classpath() is called by 5 function(s): configureBootJarTask, configureBootRunTask, configureBootTestRunTask, configureMainNativeBinaryClasspath, configureTestNativeBinaryClasspath.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free