configureSourceSet() — spring-boot Function Reference
Architecture documentation for the configureSourceSet() function in SpringBootAotPlugin.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 92922bdc_a4e6_c220_289f_5c5e5a663265["configureSourceSet()"] 089b6f3c_f3d0_8ce3_0849_35cf898f19a5["apply()"] 089b6f3c_f3d0_8ce3_0849_35cf898f19a5 -->|calls| 92922bdc_a4e6_c220_289f_5c5e5a663265 3d992fce_6180_c439_ea1a_605b674b109b["configureClassesAndResourcesLibraryElementsAttribute()"] 92922bdc_a4e6_c220_289f_5c5e5a663265 -->|calls| 3d992fce_6180_c439_ea1a_605b674b109b 42e7d2c0_07dd_cacf_246c_1eeeb40c5f95["configureJavaRuntimeUsageAttribute()"] 92922bdc_a4e6_c220_289f_5c5e5a663265 -->|calls| 42e7d2c0_07dd_cacf_246c_1eeeb40c5f95 style 92922bdc_a4e6_c220_289f_5c5e5a663265 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootAotPlugin.java lines 94–106
private SourceSet configureSourceSet(Project project, String newSourceSetName, SourceSet existingSourceSet) {
JavaPluginExtension javaPluginExtension = project.getExtensions().getByType(JavaPluginExtension.class);
SourceSetContainer sourceSets = javaPluginExtension.getSourceSets();
return sourceSets.create(newSourceSetName, (sourceSet) -> {
existingSourceSet.setRuntimeClasspath(existingSourceSet.getRuntimeClasspath().plus(sourceSet.getOutput()));
project.getConfigurations()
.getByName(sourceSet.getCompileClasspathConfigurationName())
.attributes((attributes) -> {
configureClassesAndResourcesLibraryElementsAttribute(project, attributes);
configureJavaRuntimeUsageAttribute(project, attributes);
});
});
}
Domain
Subdomains
Calls
- configureClassesAndResourcesLibraryElementsAttribute()
- configureJavaRuntimeUsageAttribute()
Called By
Source
Frequently Asked Questions
What does configureSourceSet() do?
configureSourceSet() is a function in the spring-boot codebase.
What does configureSourceSet() call?
configureSourceSet() calls 2 function(s): configureClassesAndResourcesLibraryElementsAttribute, configureJavaRuntimeUsageAttribute.
What calls configureSourceSet()?
configureSourceSet() is called by 1 function(s): apply.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free