Slackbot
10/26/2023, 5:29 PMVampire
10/26/2023, 6:18 PMcheckstyle provide you a toolVersion property on their extension and use it to create default dependencies.
So you can either define the tool version property and get the right default dependencies, or if you add your own dependencies to that configuration need to make sure to add all necessary dependencies. This for example also mitigates cases where artifact coordinates change in the future.Adam
10/26/2023, 6:37 PMVampire
10/26/2023, 7:28 PMKelvin Chung
10/26/2023, 7:52 PMVampire
10/27/2023, 7:47 PMVampire
10/27/2023, 7:48 PMVampire
10/27/2023, 7:48 PMVampire
10/27/2023, 7:50 PMconfigurations {
yourConfiguration {
withDependencies {
add(project.dependencies.create("of.of:the.default.dependencies:1.2.3"))
}
}
}
you can add to the default dependencies for example without loosing them.Kelvin Chung
10/27/2023, 8:04 PM