Browse Source

切换oracle驱动为中央仓库托管.

nieqiurong 4 weeks ago
parent
commit
d603ed4c91
4 changed files with 3 additions and 3 deletions
  1. 1 1
      build.gradle
  2. BIN
      libs/ojdbc8.jar
  3. 1 1
      mybatis-plus-generator/build.gradle
  4. 1 1
      mybatis-plus/build.gradle

+ 1 - 1
build.gradle

@@ -54,7 +54,7 @@ ext {
         "p6spy"                      : "p6spy:p6spy:3.9.1",
         "sqlserver"                  : "com.microsoft.sqlserver:sqljdbc4:4.0",
         "postgresql"                 : "org.postgresql:postgresql:42.7.4",
-        "oracle"                     : fileTree(dir: 'libs', includes: ['ojdbc8.jar']),
+        "oracle"                     : "com.oracle.database.jdbc:ojdbc8:23.7.0.25.01",
         "dm"                         : fileTree(dir: 'libs', includes: ["jdbcDriver-18.jar"]),
         "h2"                         : "com.h2database:h2:2.3.232",
         "mysql"                      : "com.mysql:mysql-connector-j:9.0.0",

BIN
libs/ojdbc8.jar


+ 1 - 1
mybatis-plus-generator/build.gradle

@@ -19,7 +19,7 @@ dependencies {
     compileOnly "org.jetbrains:annotations:24.1.0"
     testImplementation "${lib.sqlserver}"
     testImplementation "${lib.postgresql}"
-    testImplementation lib.oracle as ConfigurableFileTree
+    testImplementation "${lib.oracle}"
     testImplementation lib.dm as ConfigurableFileTree
     testImplementation "${lib.h2}"
     testImplementation "${lib.mysql}"

+ 1 - 1
mybatis-plus/build.gradle

@@ -37,7 +37,7 @@ dependencies {
     testImplementation "${lib.h2}"
     testImplementation "${lib.sqlserver}"
     testImplementation "${lib.postgresql}"
-    testImplementation lib.oracle as ConfigurableFileTree
+    testImplementation "${lib.oracle}"
     testImplementation "${lib.mysql}"
     testImplementation "${lib.'spring-context-support'}"
     testImplementation "${lib.'spring-jdbc'}"