To override the managed version 7.4.1.jre8 for mssql-jdbc, you can follow these steps:

  1. Open your project's build.gradle file.
  2. Locate the dependencies section.
  3. Add the following code to override the managed version:
configurations.all {
    resolutionStrategy.force 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8'
}
  1. Save the file and sync your project.

This will force your project to use the specified version of mssql-jdbc instead of the managed version.

Overriding managed version 741jre8 for mssql-jdbc

原文地址: https://www.cveoy.top/t/topic/jg1M 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录