code Scans the class Path and generate new class and inject dependency in them , outputs a dependecy tree and the clone package at specified location ROOT
update the ROOT where package is to be created
static final String ROOT = "/Users/ashish/Desktop/CreateFile/";
update the BASE_PACKAGE
private static final String BASE_PACKAGE= "com.start";
branch : Spring 2.7.0-1
You don’t need to build from source to use Spring Boot (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring Boot can be built and published to your local Maven cache using the Gradle wrapper. You also need JDK 17.
$ ./gradlew publishToMavenLocal
This will build all of the jars and documentation and publish them to your local Maven cache.
It won’t run any of the tests.
If you want to build everything, use the build
task:
$ ./gradlew build
Gradle Version I used for build : Azul Zulu 13.0.11
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
<version>2.7.0-1</version>
</dependency>
branch : Spring 5.3.20-1
You don’t need to build from source to use Spring Boot (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring Boot can be built and published to your local Maven cache using the Gradle wrapper. You also need JDK 17.
$ ./gradlew publishToMavenLocal
This will build all of the jars and documentation and publish them to your local Maven cache.
It won’t run any of the tests.
If you want to build everything, use the build
task:
$ ./gradlew build
update the BASE_PACKAGE_NAME in the zip
Class = ClassPathBeanDefinitionScanner
Method = protected Set<BeanDefinitionHolder> doScan(String... basePackages)
Gradle Version I used for build : AdoptOpenJDK 1.8