fix(sundb): bundle the vendor JDBC driver so SunDB works out of the box

This commit is contained in:
zipg authored and GitHub committed 2026-09-30 15:39:21 +08:00
1 parent 20ffc62249
commit 4f4e2a790b
19 files changed
+81 -5

No files matched your search

+5 -1
View File
@@ -1,4 +1,9 @@
dependencies {
// The vendor ships no Maven-published artifact, so the driver JAR is
// vendored under libs/ (git-whitelisted like cache/gbase8a/oscar/uxdb) and
// bundled into the Agent so SunDB connections work without user setup.
// A newer vendor JAR can still be supplied per connection via
// `jdbc_driver_paths`, which the Agent loads in an isolated URLClassLoader.
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
@@ -6,7 +11,6 @@ tasks.named('shadowJar') {
manifest {
attributes(
'Agent-Label': 'SunDB',
'Agent-External-Driver': 'true',
'Main-Class': 'com.dbx.agent.sundb.SundbAgent'
)
}
Binary file not shown.