diff --git a/settings.gradle b/settings.gradle index db913e9..c9fea37 100644 --- a/settings.gradle +++ b/settings.gradle @@ -30,4 +30,19 @@ projects { id 'io.spring.dependency-management' } } +} + +enforce { + rule(enforcer.rules.RequireJavaVersion) { r -> + r.version.set('17') + } + rule(enforcer.rules.EnforceBytecodeVersion) { r -> + r.enabled = false + } + rule(enforcer.rules.BanDuplicateClasses) { r -> + r.enabled = false + } + rule(enforcer.rules.DependencyConvergence) { r -> + r.enabled = false + } } \ No newline at end of file