Hello Team,
in our project, few dependencies are mentioned in the buildscript {} closure as shown below.
My doubt is we have to declare the dependencies in dependency closure but why few dependencies are mentioned in the buildscript? what is the advantage of it?
buildscript{
dependencies{
classpath 'com.wf.genesis.gradle:fortify-plugin:3.3.0'
classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:1.1.2'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.3.02'
}
}
dependencies{
implementation('org.springframework:spring-context:5.3.20')
}