Home / Function/ configureMainNativeBinaryClasspath() — spring-boot Function Reference

configureMainNativeBinaryClasspath() — spring-boot Function Reference

Architecture documentation for the configureMainNativeBinaryClasspath() function in NativeImagePluginAction.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38["configureMainNativeBinaryClasspath()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f["execute()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38
  f716b505_786b_8a0f_3ef5_bdaf043f7d3b["classpath()"]
  bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38 -->|calls| f716b505_786b_8a0f_3ef5_bdaf043f7d3b
  c00b32d0_29eb_1213_b39b_2cc136951a71["removeDevelopmentOnly()"]
  bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38 -->|calls| c00b32d0_29eb_1213_b39b_2cc136951a71
  style bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/NativeImagePluginAction.java lines 65–72

	private void configureMainNativeBinaryClasspath(Project project, SourceSetContainer sourceSets,
			GraalVMExtension graalVmExtension) {
		FileCollection runtimeClasspath = sourceSets.getByName(SpringBootAotPlugin.AOT_SOURCE_SET_NAME)
			.getRuntimeClasspath();
		graalVmExtension.getBinaries().getByName(NativeImagePlugin.NATIVE_MAIN_EXTENSION).classpath(runtimeClasspath);
		Configuration nativeImageClasspath = project.getConfigurations().getByName("nativeImageClasspath");
		nativeImageClasspath.setExtendsFrom(removeDevelopmentOnly(nativeImageClasspath.getExtendsFrom()));
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does configureMainNativeBinaryClasspath() do?
configureMainNativeBinaryClasspath() is a function in the spring-boot codebase.
What does configureMainNativeBinaryClasspath() call?
configureMainNativeBinaryClasspath() calls 2 function(s): classpath, removeDevelopmentOnly.
What calls configureMainNativeBinaryClasspath()?
configureMainNativeBinaryClasspath() is called by 1 function(s): execute.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free