fix(sundb): bundle the vendor JDBC driver so SunDB works out of the box
This commit is contained in:
19 files changed
+81
-5
No files matched your search
@@ -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.
Reference in new issue
Block a user